Skip to content

TortugaPower/bookplayer-api

Repository files navigation

Note

We're still in the process of migrating the repository from an individual account on Bitbucket to the org account here on Github

About

This is the backend used to power the cross-device sync feature of BookPlayer

Hosting

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)

Local setup

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

Additional resources

  • Postman collection

    Run in Postman

  • Whimsical sequence diagrams (link)

About

Backend used for the BookPlayer app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages