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

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.

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: