An open API service indexing awesome lists of open source software.

https://github.com/aya-jafar/ecommerce-api-2

Electronics E-commerce Django API using Django-ninja
https://github.com/aya-jafar/ecommerce-api-2

api authentication django django-ninja ecommerce electronics python rest-api token-based-authentication

Last synced: 2 months ago
JSON representation

Electronics E-commerce Django API using Django-ninja

Awesome Lists containing this project

README

          

# Introduction
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.

# ECommerce REST API
Electronic E-commerce Django API for selling and managing Elecronics using Django-ninja as the graduation project for Unicoding bootcamp

# Features
- JWT authentication
- Friendly and easy to use API documantation
- Customized user experience

# Prerequisites
Before starting with Django Ninja API, ensure you have the following installed:

- Python 3.6+
- Django
- Django Ninja

# Installation
1- Install Python 3.6+ from the official website.

2- Install Django using pip command:
```python
pip install django
```
3- Install Django Ninja using pip command:
```python
pip install django-ninja
```
4- Clone the Repo using this command:
```python
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:
```python
pip install -r requirements.txt
```

6- Run the following command to create the database tables
```python
python manage.py migrate
```
7- Start the Django development server by running the following command:
```python
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.