Local Setup
- create a project 3 directory
GitHub
- create org
- create backend repo with Readme then clone it inside of your project 3 directory.
- name the repo something like
app-name-backendorapp-name-api
- name the repo something like
Backend
- Clone the backend app repo
- create package.json
npm init -y - create
.gitignoreand addnode_modules,.gitignore, and.env - install core dependencies
apollo-server-expressexpressmongoosedotenv
- install core dev dependencies
nodemon
- create Models
- create seeds (only a few of basic seeds)
Frontend
- inside the project 3 directory, create react app
npx create-react-app app-name - On GitHub, create a repo in your org. You only have to set the remote connection to your repo and push it
MERN deployment: https://gist.github.com/loriculberson/ab4ce617ff26eba0226fda48cc664c03