No description
Find a file
2020-04-23 16:06:09 +02:00
client prepares for deployment on heroku 2020-04-23 14:28:14 +02:00
models creates react + redux frontend and express + mongodb backend 2020-04-23 10:44:49 +02:00
routes/api creates react + redux frontend and express + mongodb backend 2020-04-23 10:44:49 +02:00
.gitignore installed helmet 2020-04-23 14:57:11 +02:00
package-lock.json installed helmet 2020-04-23 14:57:11 +02:00
package.json concurrently to std deps 2020-04-23 16:06:09 +02:00
Procfile installed helmet 2020-04-23 14:57:11 +02:00
README.md creates react + redux frontend and express + mongodb backend 2020-04-23 10:44:49 +02:00
server.js concurrently to std deps 2020-04-23 16:06:09 +02:00

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"
  }
}