An open API service indexing awesome lists of open source software.

https://github.com/raykipkorir/movies-api

Built with FastAPI and mongodb. Access more than 50 movies from this API for free.
https://github.com/raykipkorir/movies-api

fastapi mongodb rest-api

Last synced: 6 months ago
JSON representation

Built with FastAPI and mongodb. Access more than 50 movies from this API for free.

Awesome Lists containing this project

README

          

# Movies API
![FastAPI](https://img.shields.io/badge/FastAPI-005571?style=for-the-badge&logo=fastapi)
![MongoDB](https://img.shields.io/badge/MongoDB-%234ea94b.svg?style=for-the-badge&logo=mongodb&logoColor=white)

## Overview
Access movie information effortlessly with my free API!". This API gives you access to more than 50 movies.

I leveraged the Selenium framework to perform web scraping operations.

## Usage
Clone the repo
```
git clone https://github.com/raykipkorir/movies-api.git
```
Navigate into movies-api directory
```
cd movies-api
```
Create virtual environment
```
virtualenv venv
```
Activate virutal environment
- Windows
```
\venv\Scripts\activate
```
- Linux
```
source venv/bin/activate
```
Install the dependencies
```
pip install -r requirements.txt
```
Run server
```
uvicorn app.main:app --reload
```
N/B -> Make sure you create environment variables shown in .env.example

## Contribution
You are welcome to fork the project and make contributions.

Any minor contribution would be greatly appreciated.