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-backend
orapp-name-api
- name the repo something like
Backend
- Clone the backend app repo
- create package.json
npm init -y
- create
.gitignore
and addnode_modules
,.gitignore
, and.env
- install core dependencies
apollo-server-express
express
mongoose
dotenv
- 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