Film Fan is sleek web application built using Svelte and Django, designed for movie enthusiasts. This app allows users to create personalized accounts, build, and manage their film lists with comprehensive CRUD (Create, Read, Update, Delete) functionalities.
- Python 3.8 or higher
- Node.js and npm
- A PostgreSQL database (or another database of your choice, but you'll need to configure it in Django settings)
-
Clone the Repository
git clone https://github.com/kdleonard93/film-fan.git cd film-fan
-
Set Up a Virtual Environment (Optional but recommended)
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Backend Dependencies
cd backend pip install -r requirements.txt
-
Database Migrations
python manage.py migrate
-
Create a Superuser (for admin access)
python manage.py createsuperuser
-
Run the Django Server
python manage.py runserver
-
Navigate to the Frontend Directory
cd ../frontend # Assuming you're in the backend directory
-
Install Frontend Dependencies
npm install
-
Run the Development Server
npm run dev
- The Django backend serves a RESTful API for film data.
- The SvelteKit frontend provides an interactive UI to view, add, and manage films.
- Visit
http://localhost:5173
(or however your local is set) in your browser to interact with the application.
- Instructions for deploying the Django backend (TBD)
- Instructions for deploying the SvelteKit frontend (TBD)
This project is licensed under the MIT License
- This project was built as part of a learning journey in full-stack development.
- Special thanks to the SvelteKit and Django communities for their extensive documentation and support.
For any queries or suggestions, feel free to contact Kyle Leonard - [email protected].