Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created November 4, 2018 16:07
Show Gist options
  • Save amandeepmittal/a347c46bc0e447eb9cf3ad2cc5a48a33 to your computer and use it in GitHub Desktop.
Save amandeepmittal/a347c46bc0e447eb9cf3ad2cc5a48a33 to your computer and use it in GitHub Desktop.
# create an empty directory and traverse inside it
mkdir mern-material-demo
# initialize it with npm
npm init -y
# install server side dependencies (initially)
yarn add express mongoose cookie-parser express-jwt jsonwebtoken
# use babel for import statements in Node
yarn add -D babel-cli babel-preset-env babel-watch
# create a client using create-react-app from root
create-react-app client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment