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
- Host: GitHub
- URL: https://github.com/aya-jafar/ecommerce-api-2
- Owner: Aya-Jafar
- Created: 2022-09-28T17:02:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T12:45:33.000Z (about 3 years ago)
- Last Synced: 2025-05-16T11:08:14.619Z (about 1 year ago)
- Topics: api, authentication, django, django-ninja, ecommerce, electronics, python, rest-api, token-based-authentication
- Language: Python
- Homepage:
- Size: 13.8 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.