https://github.com/vitaee/safariappbackend
A backed rest api project for a mobile application.
https://github.com/vitaee/safariappbackend
django-rest-framework docker docker-compose nginx-configuration postgresql
Last synced: about 2 months ago
JSON representation
A backed rest api project for a mobile application.
- Host: GitHub
- URL: https://github.com/vitaee/safariappbackend
- Owner: Vitaee
- Created: 2023-02-22T12:20:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T12:20:09.000Z (almost 3 years ago)
- Last Synced: 2025-05-15T01:39:59.115Z (about 1 year ago)
- Topics: django-rest-framework, docker, docker-compose, nginx-configuration, postgresql
- Language: Python
- Homepage:
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Safari Mobile App Backend
A backend rest api project which follows best practices of SDLC. Developing for a mobile application.
### Some Features:
- Compliance with the principles of test writing DRF
- Compliance with the principles of clean coding
- Dockerized
- Using the nginx web server
- Documented and visualized by Swagger
### Run project with docker
I assume that you installed docker & docker compose on your OS. Clone the project from github then, in terminal which opened in project root directory:
- type ```docker compose build```
- type ```docker compose up -d```
- Elastic search integrated to the project so after above commands connect each web service e.g:
- ```docker exec -it safariappbakcend-web-1 bash``` then type:
- type ```python manage.py search_index --rebuild --settings=safariBackend.settings.test```
- Now we are free to go, visit ```http://127.0.0.1:70/swagger``` to watch the api documentation.
- for development run ```python manage.py runserver --settings=safariBackend.settings.test```.