Skip to content

Igor-Vuk/Phone-Book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phone Book#

A simple Phone Book app for storing your contacts


Try it on Heroku

https://small-phonebook.herokuapp.com/

Github repository

https://github.com/Igor-Vuk/Phone-Book#readme

Using

  • React
  • Redux
  • NodeJS
  • MongoDB
  • Mongoose

Included

  • webpack
  • jQuery
  • Foundation framework
  • SCSS
  • source maps
  • browser history

Global dependencies

  • webpack

Requirements

  • Node.js
  • GitBash
  • Mongo

ENV Variables

  • set up ENV variable for DATABASE_URL. Default is localhost.

Starting the app in local environment

  1. run npm install

  2. run mongod from terminal

  3. run webpack from terminal (this will generate bundle.js file)

  4. run 'npm run start-dev-win' (development). Defaulr url for mongo is localhost.

  5. run 'npm start' (production). Set up ENV variable for DATABASE_URL

API endpoint

  • save data
  • /contacts
  • retrieve data
  • /contacts
  • delete data
  • /contacts/id

Linter

  • ESLint

Example pictures

picture alt picture alt