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

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)

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