https://github.com/miirzamiir/online-library
A DRF training api for an online library management.
https://github.com/miirzamiir/online-library
django djangorestframework docker python
Last synced: 4 months ago
JSON representation
A DRF training api for an online library management.
- Host: GitHub
- URL: https://github.com/miirzamiir/online-library
- Owner: miirzamiir
- License: mit
- Created: 2022-04-09T15:13:05.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-03T19:58:20.000Z (almost 3 years ago)
- Last Synced: 2025-01-24T12:11:58.978Z (5 months ago)
- Topics: django, djangorestframework, docker, python
- Language: Python
- Homepage:
- Size: 439 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Online Library
An online library management system api written with python, django and DRF.# Tools
- python
- django
- django rest framework
- docker
- postgresql(as default database)# Installation
after cloning project do these instructions step by step.
After cloning project, you can simply run this project by following instructions bellow.### 1- environment variables.
create a `.env` file and set value for `SECRET_KEY`, `POSTGRES_NAME`, `POSTGRES_USER` and `POSTGRES_PASSWORD` keys.
### 2- install docker and docker-compose.
you can install docker from [here](https://docs.docker.com/engine/install/).### 3- docker commands.
open a terminal and run command bellow.
```
docker-compose up
```
this command will run project on `localhost:8000` and you will be able to visit that by your favorite browser.