This was the backend app that was developed for the challenge given by Hitesh Choudhary on his Backend Series.
API Documentation
NOTE: I did not host this app as of now, but maybe will in future if I build something different out of it. As of now I have created a Dockerfile and you can simply run it via docker.
- Clone the GitHub repo:
git clone https://github.com/Ankan002/chai-backend.git
- Change into directories:
cd chai-backend
-
Now configure the
.env
according to.env.sample
, also configure .env.production by just changing theNODE_ENV
variable. -
Now if you simply want to use Docker use the following command:
docker compose up
- Else you need to first install all the dependencies:
yarn
- Finally, you can simply start the app:
yarn start
- Now just follow the API docs and you are all set.