Jotter application built on Next.js
- Run
npm installto install dependencies - Create a
.envfile with the following parameters:DB_HOSTMongoDB server address withmongodb://URL schemeDB_NAMEMongoDB database with ajottercollection inside
Create a RSA private key file calledprivate.pemin the/bin/jwtdirectory
Run the application in
next devby executingnpm run dev
npm run buildBuild the applicationnpm startServe the application onhttp://localhost:3000