Project Status: Building
- Node
- Git
- Heroku-cli
- Create React App -> npm install -g create-react-app
Create a config
folder and put into it a file named dev.js
with the content bellow.
module.exports = {
googleClientID : "451072916731-m604m51aptqr72ej4o8gsg2karev5qrh.apps.googleusercontent.com",
googleClientSecret : "eTqKtcH4RHZ9GDstmouJmclb",
mongoURI: "mongodb://dodz:dodz123!@ds225078.mlab.com:25078/dodz-emaily-dev",
cookieKey: 'MBM65433DHGCF79879JBJHMH'
};
Run in development mode
npm run dev
It is running at Heroku. Just commit and push to master configured there.
- Setting heroku repository
heroku git:remote -a emaily-api
- Push and Deploy
git push heroku master
- Open URI
heroku open
API - https://emaily-api.herokuapp.com WEB - https://emaily-web.herokuapp.com