Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.83 KB

Readme.md

File metadata and controls

48 lines (29 loc) · 1.83 KB

Chai Backend

DockerExpress.jsNodeJSJavaScriptYarnMongoDBGitHub

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.

Steps of Installation

  • 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 the NODE_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.