mirror of
https://github.com/rjNemo/MERN_sample_app
synced 2026-06-06 00:36:39 +00:00
No description
| client | ||
| config | ||
| models | ||
| routes/api | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.js | ||
MERN Stack Demo
Prequisites
- NodeJs
- npm
Installation
npm init -y
install dependencies
npm i express mongoose concurrently
install nodemon for server hot reload and jest for testing
npm i -D nodemon jest
Create npm scripts
{
"scripts": {
"start": "node server.js",
"server": "nodemon server.js",
"test": "jest",
"test:watch": "npm run test -- --watch"
}
}