/Demo-Movie-App

This is a movie web application using Django REST Framework.

Primary LanguagePythonMIT LicenseMIT

Movie-Web-App

This is a movie web application using Django REST Framework.

Where a user can signup/login to create movie database through browsable REST API.

  • Users can edit and delete their own entry only, in database.
  • Movie data can be seen (but cannot be edited) by anyone. (without even signup/login).

Follow these steps to run the project locally.

  • Install python
      sudo apt-get install python3.6
  • Install virtual environment
      sudo apt-get install virtualenv
  • Clone the Demo-Movie-App
      git clone https://github.com/Harirai/Demo-Movie-App.git
  • Change the directory to Demo-Movie-App
      cd Demo-Movie-App
  • Create the virtual environment 'myenv'
      virtualenv -p python3.6 myenv
  • Activate the virtual env
      source myenv/bin/activate
  • Install the requirements
      pip install -r requirements.txt
  • Change the directory to movieapp
      cd movieapp
  • Run following commands to add fields to db.sqlite3
      python manage.py makemigrations
      python manage.py migrate
  • Run the website
      python manage.py runserver
  • Check that the project is running correctly by browsing to
      http://127.0.0.1:8000
    

Author

Harirai Mahajan
@Harirai