node.js: v18.4
Install dependencies:
npm install
Now create a file called .env
in the project root and add the following variables, replacing the values with your own.
.env
PORT={Port} // Default 5500
DB_URL={MongoDB URL}
Run the project:
npm start
Open Api Docs in your browser http://localhost:PORT/api