Skip to content

A Movie Database API built with Django and Django REST Framework

Notifications You must be signed in to change notification settings

demaj/movie-api

Repository files navigation

Movie API

A Movie Database API built with Django, Django REST framework, PostgreSQL and Docker

Getting Started

Requirements:

  • docker

Startup/Shutdown:

make start
make stop

Make migrations:

make migrations
make migrate

Create superuser

make superuser

Populate DB

Exec:

docker-compose exec -w /code/app web python manage.py populate_db --path=/code/data/genres.csv --app_name=core --model_name=Genre
docker-compose exec -w /code/app web python manage.py populate_db --path=/code/data/movies.csv --app_name=core --model_name=Movie
docker-compose exec -w /code/app web python manage.py populate_db --path=/code/data/networks.csv --app_name=core --model_name=Network

Execute tests

make test

About

A Movie Database API built with Django and Django REST Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published