Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alonitac committed Jul 30, 2024
1 parent 19de203 commit de52b8b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# NetflixMovieCatalog

NetflixMovieCatalog is a simple Flask-based API that provides information about TV shows and movies.

## Endpoints

- `GET /` - Welcome message
- `GET /discover` - Discover movies or TV shows
- `POST /updatePopularity` - Update the popularity of a specific movie
- `GET /status` - Check the API status

## Setup

1. Clone the repository:
```sh
git clone https://github.com/yourusername/NetflixMovieCatalog.git
cd NetflixMovieCatalog
```

2. Create a Python virtual environment and activate it:
```sh
python3 -m venv venv
source venv/bin/activate
```

3. Install the required dependencies:
```sh
pip install -r requirements.txt
```

4. Run the application:
```sh
python app.py
```

## Data Files

- `data/data_tv.json` - Data for TV shows
- `data/data_movies.json` - Data for movies

0 comments on commit de52b8b

Please sign in to comment.