Skip to content

ejaj/assignment

Repository files navigation

GIGA Assigment (Backend)

API for CRUD operation

Setup

The first thing to do is to clone the repository:

$ git clone https://github.com/ejaj/assignment.git
$ cd assigment

Enable a virtual environment to install dependencies in and activate it:

$
$ source venv/bin/activate

Then install the dependencies:

(env)$ pip install -r requirements.txt

For mac users

(env)$ pip install -r requirements.mac.txt

Once pip has finished downloading the dependencies:

(env)$ cd assigment
(env)$ python manage.py runserver

For creating Super user, you can run this command.

(env)$ python manage.py superuser

Dependencies

- Database: PostgreSQL

Change the database name and password from .env file

API end point and response: See the API documentation