Jotter application built on Next.js
- Run
npm install
to install dependencies - Create a
.env
file with the following parameters:DB_HOST
MongoDB server address withmongodb://
URL schemeDB_NAME
MongoDB database with ajotter
collection inside
Create a RSA private key file calledprivate.pem
in the/bin/jwt
directory
Run the application in
next dev
by executingnpm run dev
npm run build
Build the applicationnpm start
Serve the application onhttp://localhost:3000