Skip to content
James Tyner edited this page Apr 11, 2019 · 13 revisions

Get Started

echo

Set Up Development Environment

Launch GitHub Desktop and Open terminal

Vue (Front-End)

cd vue - to enter vue folder

Create a .env file inside vue folder

VUE_APP_BACK_URL='http://localhost:3000/api'
SENDGRID_API_KEY='ASK JAMES'

npm install - install npm packages

npm run serve - run the front-end server

To end press Control + C

To run the server next time, enter vue folder and npm run server

NodeJS (Back-End)

cd .. - Go back to the previous folder

cd node - to enter vue folder

Create a .env file inside node folder

MONGO_URL='ASK_MARS'
clientID='ASK_MARS'
clientSecret='ASK_MARS'
FRONT_URL='http://localhost:8080'

npm install - install npm packages

npm run debug - run the front-end server

To end press Control + C

To run the server next time, enter node folder and npm run debug

Deployment