/sf-customers-api

Customers management app api built with DRF

Primary LanguagePython

Contacts management application

This is the test project for service_fusion.

Requirements Specification

Write and deploy a simple web application to manage contacts preferably using Vue, javascript &/ python. It should store a list of persons, containing the following fields:

  • firstname
  • lastname
  • date of birth
  • zero or more addresses
  • one or more phone numbers
  • one or more emails

Running Locally

Make sure you have Python installed properly. Also, install the Heroku Toolbelt and Postgres.

$ git clone git@github.com:haohong/sf-customers-api.git
$ cd sf-customers-api

$ pipenv install

$ createdb service_fusion

$ python manage.py migrate
$ python manage.py collectstatic

$ heroku local

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master

$ heroku run python manage.py migrate
$ heroku open

or

Deploy

Built With

  • Django-rest-framework - The web framework used for building RESTful api
  • Vue.js - The SPA framework used for building frontend web app