**This project is developed on python 3.6
How to run the project
** Use virtual environment for isolated local development or use pipenv
- sudo pip install pipenv # For Python version 2.7
- sudo pip3 install pipenv # For Python version 3.6
- pipenv --python 3.6
- touch Pipfile # Put the name of dependent library there.
- pipenv shell
- pipenv install --dev
- python manage.py makemigrations contact (Before running this command set database connection properly in settings.py file)
- python manage.py migrate
- python manage.py runserver_plus 0.0.0.0:8000 (For development)
- gunicorn InterconnectionContact.wsgi:application -w 4 -b 0.0.0.0:8000 (For production with optional flag)**
- curl -H "Content-Type: application/json" -X POST -d '{"first_name":"xyz","last_name":"xyz"}' http://localhost:8000/api/v1/contact/
- Use any rest client such as Advanced Rest Client for getting data from rest url
** For Production you can use gunicorn or other wsgi compatible server
Please mail me for any help: rab.marjan@gmail.com