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.
- 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)
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}
Running application (backend):
py manage.py runserver
Running applictation (frontend)
npm start