Skip to content

geraldsanga/project-cinema-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

API for project-cinema

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

Configuration

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.

The frontend app

Click this 👉 link to follow installation guides for the frontend application written in Vue.js

Installation

  • clone 🔽 the project

  • cd ▶️ into the BASE_DIR with cd 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

Start the development server ⚡

python manage.py runserver

Now you can go to localhost:8000 and enjoy the world of movies

About

A backend written to handle the business logic of project-cinema

Topics

Resources

Stars

Watchers

Forks

Languages