Clone the repo
git clone https://github.com/Abh-I-seK/Notes-Server.gitInstall the dependencies
npm installAdd the environment variables
- DATABASE_URL (Your Postgresql connection String)
- SECRET_S (Your Secret for jwt tokens)
To run the server do the following in the root directory
tsc -bnode dist/server.jsTo Test the server , make sure to run it when your database is empty.
npx jest