Skip to content

Afeez1131/hadi-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookstore API

This Django app is designed as a technical assesment for a django developer at Hadi-finance.

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/Afeez1131/hadi-task.git
  1. Navigate to the project directory:
  cd django-app-name
  1. Create and activate a virtual environment:

      python -m venv env

    For Windows:

    env\Scripts\activate

    For macOS/Linux:

    source env/bin/activate
  2. Install the required dependencies:

pip install -r requirements.txt

Database Migration

  1. Apply migrations to set up the database schema:
python manage.py migrate

Running Tests

To run tests, execute the following command:

python manage.py test

Usage

To start the development server, run the following command:

python manage.py runserver

Access the application by sending a GET request to http://127.0.0.1:8000/api/ using curl, postman or any other API client.

About

repo for the hadin finance interview task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages