This is the repo for the project_cinema back-end powered by django and django rest-framework including other packages that can be found in the requirements.txt file. Together with the frontend application written in Vue js This back-end makes the full project_cinema. Endpoints include
- auth/registration/ for user registration
- auth/login/ for user authentication
- core/ for the core application that holds a number of other endpoints as listed in /core/api/urls.py
You will need postgres with postgis with all it's dependencies GDAL to name one for this application to work. Create a database with the name project_cinema with the user postgres.
Click this 👉 link to follow installation guides for the frontend application written in Vue.js
-
clone 🔽 the project
-
cd
▶️ into the BASE_DIR withcd project_cinema
-
Install ⚙️ packages with pip
pip install -r requirements.txt
-
make migrations 📑
python manage.py makemigrations and python manage.py migrate
-
create a superuser 👨🏫 with
python manage.py createsuperuser
-
for sanity 🚥 chake run
python manage.py collectstatic
python manage.py runserver
Now you can go to localhost:8000 and enjoy the world of movies