https://github.com/eadwincode/bookstoreapi
A quick example on how to use Django-Ninja-Extra, Ninja-Schema(For ModelSchema) and Ninja-JWT(For authentication)
https://github.com/eadwincode/bookstoreapi
Last synced: 4 months ago
JSON representation
A quick example on how to use Django-Ninja-Extra, Ninja-Schema(For ModelSchema) and Ninja-JWT(For authentication)
- Host: GitHub
- URL: https://github.com/eadwincode/bookstoreapi
- Owner: eadwinCode
- Created: 2021-11-19T13:09:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-17T12:00:34.000Z (about 2 years ago)
- Last Synced: 2025-09-29T14:58:45.608Z (4 months ago)
- Language: Python
- Size: 7.33 MB
- Stars: 64
- Watchers: 2
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BookStoreAPI
## Introduction
A quick example of how to use [Django-Ninja-Extra](https://eadwincode.github.io/django-ninja-extra/), [Ninja-Schema](https://github.com/eadwinCode/ninja-schema) and [NinjaJWT](https://eadwincode.github.io/django-ninja-jwt/)
## Quick Start
For development:
### Build Docker Image
```bash
bash scripts/docker_build.sh build
```
### Run Docker Image
```bash
bash scripts/docker_build.sh up
```
Run image on background
```bash
bash scripts/docker_build.sh up -d
```
Visit: [http://0.0.0.0:8001/api/docs](http://0.0.0.0:8001/api/docs)
### Stop Docker Image
```bash
bash scripts/docker_build.sh down
```
Preview