Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ketgg/flix
Movie recommendation system API. Part of which was made for university course project.
https://github.com/ketgg/flix
data-mining data-mining-python movie-app movie-recommendation movies-api nginx-server
Last synced: 26 days ago
JSON representation
Movie recommendation system API. Part of which was made for university course project.
- Host: GitHub
- URL: https://github.com/ketgg/flix
- Owner: ketgg
- Created: 2024-02-29T13:10:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-01T23:07:21.000Z (9 months ago)
- Last Synced: 2024-11-14T07:52:00.114Z (about 2 months ago)
- Topics: data-mining, data-mining-python, movie-app, movie-recommendation, movies-api, nginx-server
- Language: Python
- Homepage: https://ketto.space/flix/api/
- Size: 16.2 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run locally
### Setting up Flask server
1. Clone the repository
```
git clone https://github.com/re1san/Flix --branch main --depth 1 Flix-Server
```2. Create python virtual env and install dependencies
```
cd Flix-Server
python -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
```3. Start the Flask server
```
gunicorn wsgi:app
```4. Your Flask server will start at `http://127.0.0.1:8000`
> [!TIP]
> If you are using NixOS/Nix, after step 1 you can just run `cd Flix-Server && nix develop`, this will do all the steps and start server at `http://127.0.0.1:8000`### Setting up Web server
1. Clone the repository
```
git clone https://github.com/re1san/Flix --branch web --depth 1 Flix-Web
```2. Install dependencies
```
cd Flix-Web
npm install
```3. Get TMDB API Key and Add it in `.env.local`
```
cp .env.sample .env.local
# Place your TMDB API Key in .env.local
```4. Start the Web server
```
npm run dev
```5. Your Web server will start at `http://127.0.0.1:5000`
Now you can visit `http://127.0.0.1:5000` to see the website working.