Clone project form git and go to project directory
Copy .env-example file to .env and override there.
cp .env-example .envBuild and run docker
docker-compose up --build -dRun docker
docker-compose up -dOpen your browser and goto http://localhost:8000
| HTTP Verb | Endpoints |
|---|---|
| GET | /api/v1/authors/ |
| POST | /api/v1/authors/ |
| GET | /api/v1/authors/{id}/ |
| PUT | /api/v1/authors/{id}/ |
| PATCH | /api/v1/authors/{id}/ |
| DELETE | /api/v1/authors/{id}/ |
| HTTP Verb | Endpoints |
|---|---|
| GET | /api/v1/books/ |
| POST | /api/v1/books/ |
| GET | /api/v1/books/{id}/ |
| PUT | /api/v1/books/{id}/ |
| PATCH | /api/v1/books/{id}/ |
| DELETE | /api/v1/books/{id}/ |
| HTTP Verb | Endpoints |
|---|---|
| GET | /api/v1/categories/ |
| POST | /api/v1/categories/ |
| GET | /api/v1/categories/{id}/ |
| PUT | /api/v1/categories/{id}/ |
| PATCH | /api/v1/categories/{id}/ |
| DELETE | /api/v1/categories/{id}/ |
| HTTP Verb | Endpoints |
|---|---|
| GET | /api/v1/library-stat/ |