Clone the repo
git clone https://github.com/AnirbanChattopadhyay-2004/NotesServer.git
Install the dependencies
npm install
Add the environment variables
- MONGSTR (Your Mongodb connection String)
- JWTPWD (Your Secret for jwt tokens)
To run the server do the following in the root directory
node server.js
To Test the server , make sure to run it when your database is empty.
npx jest