This is a full solustion of implement the fast api project with multiple micro-service, with the various feature.
- One gateway to handle all the MS.
- Easy and readable structure.
- JWT authentication inbuild.
- Global DB logging.
- Inbuild dummy API's.
POST /auth/login
Parameter | Type | Description |
---|---|---|
username |
string |
Required. Email or username |
password |
string |
Required. Password |
POST /auth/register
Parameter | Type | Description |
---|---|---|
email |
string |
Required. Email address |
password |
string |
Required. Password |
GET /user/me
POST /address
Parameter | Type | Description |
---|---|---|
street |
string |
Required. |
city |
string |
Required. |
state |
string |
Required. 2 degit state |
zip |
integer |
Required. |
Clone the project
git clone https://github.com/abbackend/fastapi-grpcms.git
Go to the project directory
cd fastapi-grpcms
Install dependencies
sudo apt install docker.io
sudo apt install docker-compose
sudo apt install make
Start the server
make up
Now you can able to access the docs page using the below URL
Also you can access the php-myadmin using the below URL