mern-blog-backend
Blog app created with MERN stack
Requirements
Node.js >= 18.13.0
Env variables
Add .env
file in the root dir of your project
and add to it
MONGO_URI="mongodb+srv://username:password@cluster0.b13o4kt.mongodb.net/DB_name?retryWrites=true&w=majority"
and change username, password and DB_name
Available Scripts
In the project directory, you can run:
npm run start:dev
Runs the app in the development mode.
Open http://localhost:4444 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.