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

https://github.com/rajsoni03/flask_api

Flask API using JWT and set the request limit
https://github.com/rajsoni03/flask_api

api flask jwt limiter python

Last synced: about 1 month ago
JSON representation

Flask API using JWT and set the request limit

Awesome Lists containing this project

README

          

# Flask API
Flask API using JWT and set the request limit

## The Task
#### Build a flask api along with a basic 2 page interface, which has the following functionality:
1. Simple interface to upload images and when you click "submit" button, it shows a new page with name of the uploaded image.
2. Build a key based authentication system using JWT token for accessing the api functionality.
3. Put in place a throttle for api call rate, 5/min.

## Uses

**Step 1. -** Install all requirements using this command
```Batchfile
>> pip install -r requirements.txt
```

**Step 2. -** Open terminal and use following command for run the project

```Batchfile
>> python main.py
```

**Step 3. -** Open browser and type url:

http://127.0.0.1:5000

http://127.0.0.1:5000/token

http://127.0.0.1:5000/api?token=YOUR_TOKEN