CoptimeServer is a real-time chat application backend, initially developed for SIH2020.
- Fork and clone this repository to your local machine.
- Ensure node.js is installed by running
node --version
. - Ensure mongodb is installed by running
mongod --version
. - Ensure yarn is installed by running
yarn --version
. - Open the terminal and traverse to this folder.
- Change the database path in
package.json - scripts - db
. - Run
yarn install
to install all the dependencies required for this project. - Once the dependencies are installed, run
yarn db
. - Once database connection is successfully established, run
yarn start
, in another terminal.