blog using node and express. i add features when im bored or wanna learn something new.
for authentication, JWT tokens are used and saved in browser cookies
- make a
.env
file in config folder - add these key value pairs
DBURI=[mongodb uri]
PORT=[whatever port u want]
JWT_SECRET=[some gibberish]
- run
npm install
- run
npm run dev