https://github.com/code-architect/pythom-microservices
https://github.com/code-architect/pythom-microservices
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/code-architect/pythom-microservices
- Owner: code-architect
- Created: 2022-06-06T00:44:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T21:44:54.000Z (over 3 years ago)
- Last Synced: 2024-12-28T13:33:55.554Z (about 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
###Docker file details
To build the image:
```docker build --tag flask-micro .```
To see the image:
```docker images```
To create a container:
```docker run --p 5000:5000 flask-micro```
###User Microservices details
####User API End Points
1. ```/api/user/all - GET``` [Going to return list of all users]
2. ```/api/user/create - POST``` [Going to create a user]
3. ```/api/user/login - POST``` [Login the user]
4. ```/api/user/logout - POST``` [Logout the user]
5. ```/api/user//exists - GET``` [Check if user exists or not]
6. ```/api/user/ - GET``` [Details about currently logged in user]
We need to create different venv for each project, for being lazy i am creating one