https://github.com/fwasik/library_v2
The second version of the library created using React.js, Django, Django REST Framework, PostgreSQL and Docker.
https://github.com/fwasik/library_v2
cloudinary django django-rest-framework docker library postgresql react
Last synced: 2 months ago
JSON representation
The second version of the library created using React.js, Django, Django REST Framework, PostgreSQL and Docker.
- Host: GitHub
- URL: https://github.com/fwasik/library_v2
- Owner: FWasik
- Created: 2021-08-23T16:59:33.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-10T11:31:47.000Z (over 3 years ago)
- Last Synced: 2025-03-16T21:54:44.272Z (about 1 year ago)
- Topics: cloudinary, django, django-rest-framework, docker, library, postgresql, react
- Language: Python
- Homepage:
- Size: 5.35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Library_v2 (Virtual Library)
## Table of contents
* [General info](#general-info)
* [Technologies](#technologies)
* [Setup](#setup)
* [Screenshots](#screenshots)
## General info
My first "big app". Virtual Library, a web application for handling library orders (create, delete, read).
The application also provides a user authorization and authentication system (also with CRUD).
Both provided by JWT. The application uses PostgreSQL. Images are stored on Cloudinary.
## Technologies
* Python: 3.9.2
* Django: 3.2.9
* Django REST Framework: 3.12.4
* JavaScript
* React.js: 17.0.2
* PostgreSQL: 13.2
* Docker
* Cloudinary (for image storage)
## Setup
Firstly, we need to install some of the technologies, like Python, React.js, Docker
and PostgreSQL. Needed sites:
https://www.python.org/downloads/
https://pl.reactjs.org/
https://www.postgresql.org/
https://www.docker.com/
Requirements must be install. Install from requirements.txt:
```
pip install -r requirements.txt
```
Install from Pipfile (with pipenv):
```
pipenv install
```
Testing app:
```
py manage.py test
```
WARNING!
Test for users will not be run by this command.
To run test for users use this command:
```
py manage.py test Authentication.tests.{class_to_test}.{method_to_test}
```
### Run
Running application (backend):
```
py manage.py runserver
```
Running applictation (frontend)
```
npm start
```
## Screenshots
Some screenshots of the app: