This project is a Netflix clone built using Django. It features user authentication (sign in / login) and a simple main page showcasing the available content. The application leverages Django's built-in functionalities for handling APIs and static files, making it a solid foundation for building more complex features in the future.
- User Authentication: Users can sign in to their accounts.
- Main Page: A simple landing page displaying available content.
- Django: The web framework used to build the application.
- Django REST Framework: To facilitate API creation and handling.
- HTML/CSS: For the basic styling of the main page.
- SQLite: The default database for the application (can be modified to use others).
To get started with the project, follow these steps:
- Python 3.x
- Django
- Django REST Framework
git clone https://github.com/yourusername/netflix-clone.gitcd netflix-clonepython -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windowspip install -r requirements.txtRun the following command to apply migrations:
python manage.py migrateTo access the Django admin panel, create a superuser account:
python manage.py createsuperuserStart the server:
python manage.py runserverYou can now visit http://127.0.0.1:8000/ in your browser to access the application.
- Navigate to the sign-in page.
- Enter your credentials to log in.
- Once logged in, you will be directed to the main page.
This project serves as a starter template. Future features could include:
- The ability to register new accounts.
- A more extensive main page layout with content cards.
- User profiles, including watch history.
- Integration of a payment system for subscriptions.
- Enhanced content management admin panel.
For any questions or concerns regarding the course, please reach out to:
- Instructor: [Maziyar kolagar]
- Email: [maziyarkolagar@gmail.com]
Contributions are welcome! Please feel free to open an issue or submit a pull request.
