This is an update of my previous watchlist project. It allows users to find movies and write reviews for those movies.
- You will need to have Python3.6 installed in your machine together with venv and pip.
- Set up the virtual environment and activate it
$ python3.6 -m venv virtual
$ source virtual/bin/activate
- Install all the necessary modules
$ pip install -r requirements.txt
-
Get an API key from TMDB
-
Create an Instance folder at your project root.
$ mkdir instance
- Create a config.py file inside the instance folder
$ touch instance/config.py
- Paste in the API key inside the new config.py file
MOVIE_API_KEY='Your API KEY HERE'
- Run the application
$ python3.6 run.py
Each branch tackles a specific part in the application development
- Master: The primary branch with all the content.
- 01-Templates: Introduction to templates and template variables.
- 02-Dynamic-routes : Creating a dynamic view function.
- 03-Configurations: Set up the projects configuration file.
- 04-Control-Flows: Added control flows in our template files.
- 05-Storing-API-Keys: Store API key in instance folder
- 06-Movie Model: Movie model and test class
- 07-API-call: Make API call
- 08-For-Loops-Macros:Looping through items using Macros
- 09-Base-Template: Add base template and extend to template files
- 10-Adding-Bootstrap: Added Bootstrap extension and structured the page
- 11.Adding-CSS : Added css file and styled the page
- 12-Movie-Page: Add a movie page to display details on a single movie.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.