Note
We're still in the process of migrating the repository from an individual account on Bitbucket to the org account here on Github
This is the backend used to power the cross-device sync feature of BookPlayer
We're currently using AWS to host our servers:
- EC2 + ELB - for the node instances and load balancing between the nodes
- RDS - PostgreSQL instance
- S3 - for all the files storage
- Elasticache - Redis for websockets (although we stopped using them in the app around v5.0.3)
Requirements:
- NodeJS (v16)
- Yarn
- PostgresSQL
- Redis
After cloning the repository:
- Duplicate
development.env.template
into.development.env
- Fill the environment variables with your DB info and S3 info
- Run
yarn
on the repository path to install the dependencies - Make sure the local redis server is up and the DB is accessible, and run
yarn run dev
to start the server
-
Postman collection
-
Whimsical sequence diagrams (link)