Skip to content

Instantly share code, notes, and snippets.

View vihardesu's full-sized avatar

Vihar Desu vihardesu

View GitHub Profile
@vihardesu
vihardesu / react_app_to_production.txt
Last active July 6, 2020 23:13
React App -> Heroku
npx create-react-app [NAME]
cd [NAME]
git init
heroku create [APP-NAME] -b https://github.com/mars/create-react-app-buildpack.git
git add .
git commit -m "react-create-app on Heroku"
git push heroku master
heroku open
@vihardesu
vihardesu / Custom_React_Boilerplate
Last active July 22, 2020 23:04
Installs the latest create-react-app with some opinionated dependencies and folder structures
mkdir [APP NAME]
cd [APP NAME]
npx create-react-app client
cd client
npm install --save styled-components react-router-dom react-icons react-device-detect
cd src
mkdir components containers assets utilities