This App was build using MERN stack (Mongo/Express/React/Node).
- Clone App to your working directory
git clone https://github.com/Naterra/phonebook_mern.git && cd phonebook_mern
- Install modules
npm install
cd client && npm install
cd ..
-
Edit config file.
Rename config/dev.dist.js to be dev.js and insert you database settings -
Run App on Dev Server
npm run dev
Your App will be automatically opened at localhost:3000
- Download and install the Heroku CLI.
heroku login
- Initialize a git repository
cd my-project-name/
git init
heroku git:remote -a my-project-name
- Deploy your changes
git add .
git commit -am "make it better"
git push heroku master
heroku open
Refill your database with data using Faker API. Open http://yourapp.com/api/generate-fake-data and get 50 records in DB.