Django Ninja is a web framework for building APIs with Django and Python 3.6+ version. It is designed to be fast, easy to use, and provide standards-based APIs. This readme provides a basic instruction to set up and use Django Ninja API.
Electronic E-commerce Django API for selling and managing Elecronics using Django-ninja as the graduation project for Unicoding bootcamp
- JWT authentication
- Friendly and easy to use API documantation
- Customized user experience
Before starting with Django Ninja API, ensure you have the following installed:
- Python 3.6+
- Django
- Django Ninja
1- Install Python 3.6+ from the official website.
2- Install Django using pip command:
pip install django
3- Install Django Ninja using pip command:
pip install django-ninja
4- Clone the Repo using this command:
git clone https://github.com/Aya-Jafar/eCommerce-API-2.git
5- Install the required dependencies by running the following command in the project directory:
pip install -r requirements.txt
6- Run the following command to create the database tables
python manage.py migrate
7- Start the Django development server by running the following command:
python manage.py runserver
8-Open your web browser and navigate to http://localhost:8000/api/docs. This will display the API documentation generated by Django Ninja.