Skip to content

Instantly share code, notes, and snippets.

@qfarenwald
Last active December 3, 2019 02:43
Show Gist options
  • Save qfarenwald/33804fc922d46cf93a64a1f68c5da4dc to your computer and use it in GitHub Desktop.
Save qfarenwald/33804fc922d46cf93a64a1f68c5da4dc to your computer and use it in GitHub Desktop.

https://frontend.turing.io/lessons/module-4/front-end-back-end-connection.html

https://frontend.turing.io/lessons/module-4/deploy-to-heroku.html

classwork folder fe and be

Setup A Simple BE

https://github.com/qfarenwald/be

mkdir <name>

npm init --yes

npm i express --save

node server.js or nodemon server.js

Test in postman

insert working code here when done

Setup A Simple FE

https://github.com/qfarenwald/fe

npm i -g create-react-app

npx create-react-app <name>

npm start

insert working code here when done

Install CORS

npm install cors --save in both folders

Add this code to the be file

insert working code here when done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment