Simple CRUD Task.
A Simple CRUD API to create a Person object with the attribute name.
- ERD and UML Diagrams on LucidChart: https://drive.google.com/file/d/1LvQs5dhPELlvKyjmGy6PYY0MW9MRYip5/view?usp=sharing
- Live URL: https://hng-task-two-5pjl.onrender.com/api
- Postman Documentation: https://documenter.getpostman.com/view/20461685/2s9YC2zDc2
- Postman Collection: https://www.postman.com/danadewole/workspace/public-workspace/collection/20461685-02cfee4c-98f6-4859-8345-09fee841524b?action=share&creator=20461685
-
Clone the repository:
git clone https://github.com/DanAdewole/hngx-stage-two.git
-
Navigate to the project directory:
cd hngx-stage-two
-
Create a virtual environment:
python -m venv ./venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the project dependencies:
pip install -r requirements.txt
-
Run database migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Access the API in POSTMAN at
http://127.0.0.1:8000/api
.
Check DOCUMENTATION.md
- Django
- Django Rest Framework
- Python
This project is licensed under the MIT License.