Skip to content

J-rayX/crm_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django REST API with PostgreSQL: A CRUD App

A Django RESTful API with PostgreSQL database for my tutorial: Django Rest Framework with PostgreSQL: A CRUD Tutorial.

To Run on Localhost

  • Have Python and pip installed on your local machine

Running the Django project

Create an isolated environment for the project with virtualenv. You can install virtualenv with the following command:

sudo pip install virtualenv

Create a new directory for the project:

mkdir myproject && cd myproject

Create a virtual environment for the project:

virtualenv env

Then, activate it:

source env/bin/activate

Clone the project from GitHub:

git clone https://github.com/j-rayX/crm_project.git

Install Django and other packages:

pip install django djangorestframework psycopg2

Finally, cd into the crm_project folder and run the project:

python manage.py runserver

Spot on!

Go to http://localhost:8000/customer/ to see if the API is up and running.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages