This Django app is designed as a technical assesment for a django developer at Hadi-finance.
- Clone the repository to your local machine:
git clone https://github.com/Afeez1131/hadi-task.git
- Navigate to the project directory:
cd django-app-name
-
Create and activate a virtual environment:
python -m venv env
For Windows:
env\Scripts\activate
For macOS/Linux:
source env/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
- Apply migrations to set up the database schema:
python manage.py migrate
To run tests, execute the following command:
python manage.py test
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.