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
- Host: GitHub
- URL: https://github.com/rajsoni03/flask_api
- Owner: Rajsoni03
- Created: 2019-10-26T21:56:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T17:14:20.000Z (about 6 years ago)
- Last Synced: 2025-03-15T21:32:00.744Z (over 1 year ago)
- Topics: api, flask, jwt, limiter, python
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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