-
-
Notifications
You must be signed in to change notification settings - Fork 494
Bassa: Developer Guide
Mehant Kammakomati edited this page Jun 25, 2020
·
8 revisions
Bassa is an n-tier application that can serve users through dedicated Web, Android, and iOS clients.
Components
- Bassa API server is implemented as a flask-socketio server written in Python.
- Bassa web client is implemented using Angular written in JavaScript. (Moving to create-react-app very soon)
- Bassa Android and iOS mobile clients are implemented using react native written in JavaScript.
- Bassa uses MySQL 5.X as the database server.
- Bassa uses Aria2c RPC server to download files.
- Bassa can be used with Minio file storage server as a file system and also for storing files to Amazon S3 cloud storage.
You can look into the permission-based file management system used in Bassa here
You can look into the Bassa API server end-points which are compiled here
You can look at our Wiki page for the installation guide.
- Make sure the python server is working and you have an open connection to the database.
- Open the python console in your terminal by running the command
python3
. - In the console that opens, import the test files, like so:
from tests.Bassa_endpoint_test import *
from tests.login_test import *
cd ui
npm test OR yarn test
In case if you are stuck up with any issues during the setup or usage, look into the troubleshooting list for help or file a new issue on the project repository.
- Youtube by Padam Chopra
- Google Drive by Moses Paul
Here are the some best practices that can be followed while working on this project.
Prettier is an amazing tool for making codes look pretty. You can set up Prettier on your favorite IDE, check the below links.
Find more plugins here