This project will be the API for the Rap-god project that'd be used for accessing the database and implement other API-endpoints. This is where we connect the cassandra database, configure it and implement the project's idea.
The project will be shared by various working groups (including but not limited to):
- Endpoints
- Testing
We are using:
- Express
- Cassandra
- Babel for tranpilation
Run the following commands to setup the server
- Add
node_modules
yarn dev
- Transpile the code
yarn transpile
- Run the server
yarn dev
The express backend server uses the older standard of the Javascript (Accordding to the EcmaScript Standards)
We need to transpile the code from ES6+ to do the work for us, for this we need to run
yarn transpile
To run the database image, run the following command:
docker compose up
Run the following commands to setup the server
- Add
node_modules
yarn dev
- Transpile the code
yarn transpile
- Run the server
yarn dev