Skip to content

3Cement/MoviesDatabase---Django-REST-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoviesDatabase---Django-REST-Framework

A simple REST API - a basic movie database interacting with external API created as a recrutation task and to learn Django REST Framework.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Existing Example

Existing example is hosted on Heroku and you can check at the following link: https://shielded-anchorage-53647.herokuapp.com/

Prerequisites

What things you need to install the software and how to install them

1. Create your virtual environment
2. Clone this repository
3. Install requirements
4. Initialize database
5. Run movies database app

Installing and deployment

A step by step series of examples that tell you how to get a development env running

  1. Create new virtual environment, for example with virtualenvwrapper:
$ pip install virtualenvwrapper
$ mkvirtualenv example_venv
  1. Clone this repository:
$ git clone https://github.com/3Cement/MoviesDatabase---Django-REST-Framework

2.1. Change you time zone in settings.py if you are in different one than Europe/London

TIME_ZONE = 'Europe/London'
  1. Install requirements:
$ pip install -r requirements.txt
  1. Initialize database
$ python3 manage.py makemigrations
$ python3 manage.py migrate
  1. Run movies database app (in folder with manage.py file):
$ python manage.py runserver

Screenshots

Running the tests

$ python manage.py test

Built With

Contributing

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE.md file for details

Acknowledgments

About

A simple REST API - a basic movie database interacting with external API created as a recrutation task and to learn Django REST Framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published