Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marirs/fastapisimple
fastApi boilerplate using API Key in URL path
https://github.com/marirs/fastapisimple
api-key-authentication api-server fastapi fastapi-boilerplate microservices mongodb python38 url-path-api
Last synced: about 1 month ago
JSON representation
fastApi boilerplate using API Key in URL path
- Host: GitHub
- URL: https://github.com/marirs/fastapisimple
- Owner: marirs
- License: mit
- Created: 2020-06-05T10:10:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T07:50:00.000Z (over 4 years ago)
- Last Synced: 2024-11-08T22:51:42.620Z (3 months ago)
- Topics: api-key-authentication, api-server, fastapi, fastapi-boilerplate, microservices, mongodb, python38, url-path-api
- Language: Python
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastAPI boilerplate
This project is to use fastAPI with just an API Key in the URL Path. This can be used for simple API microservices where JWT/API Header/etc. is not required.
#### Requirements
- Python 3.8+
- MongoDB- Deploying the server
```bash
mkvirtualenv --python=`which python3.8` fastApiSimple
cd /path/to/fastApiSimple
setvirtualenvproject
```- Running the server in development
```bash
$ ./server.sh run
```#### Endpoints
- user: /api/{api_key}/user - User list
- docs: /api/{api_key}/docs - fastApi Documentation
---
Author: Sriram