Zetflix is a Django-based web application that allows users to browse, manage, and keep track of their favorite movies and TV shows. The application supports CRUD operations for user accounts, movies, and TV shows, as well as functionality to manage a personalized watchlist.
- User authentication (registration, login, logout)
- CRUD operations for Movies and TV Shows
- Personalized watchlist management (add, delete, and list items)
- User-specific movie and TV show listings
git clone <Repo_URL>
cd <Repo_Dir>python -m venv myenv
myenv/Scripts/Activate # On Windows, use `venv\Scripts\activate`pip install -r requirements.txtpython manage.py runserverAfter starting the application, you can access it by navigating to http://127.0.0.1:8000/ in your web browser.
Access the admin panel at http://127.0.0.1:8000/admin to manage users, movies, and TV shows.
Login auth and admin in not added as of now. Feel free to create PR
Here are some of the main API endpoints:
POST /user/add/- Add a userDELETE /user/delete/- Delete a user
GET /movie/get/- Get a list of all moviesPOST /movie/add/- Add a new moviePATCH /movie/update/- Update a movie by IDDELETE /movie/delete/- Delete a movie by IDGET /movie/<id>/- Get a movie by ID
GET /api/tvshows/- Get a list of all TV showsPOST /api/tvshow/ass- Add a new TV showGET /api/tvshow/get- Get a TV show by IDPUT /api/tvshow/update- Update a TV show by IDDELETE /api/tvshows/<id>- Delete a TV show by ID
GET /mylist/get- Get the user's watchlistPOST /mylist/add- Add an item to the user's watchlistDELETE /mylist/delete- Delete an item from the user's watchlist
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature). - Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/YourFeature). - Open a pull request.
Please make sure your code follows the project's coding style and includes tests for any new features or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
