Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kayprogrammer/bidout-auction-v2
A simple auction api built with sanic
https://github.com/kayprogrammer/bidout-auction-v2
docker pgadmin4 postgresql sanic
Last synced: about 1 month ago
JSON representation
A simple auction api built with sanic
- Host: GitHub
- URL: https://github.com/kayprogrammer/bidout-auction-v2
- Owner: kayprogrammer
- Created: 2023-04-04T17:25:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T03:05:50.000Z (12 months ago)
- Last Synced: 2024-04-16T02:22:26.513Z (9 months ago)
- Topics: docker, pgadmin4, postgresql, sanic
- Language: Python
- Homepage: https://bidout-sanic-api.cleverapps.io
- Size: 775 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BidOut Auction V2
![alt text](https://github.com/kayprogrammer/bidout-auction-v2/blob/main/display/sanic.png?raw=true)
#### Sanic Docs: [Documentation](https://sanic.dev)
#### PG ADMIN: [Documentation](https://pgadmin.org)
#### Swagger: [Documentation](https://swagger.io/docs/)
## How to run locally
* Download this repo or run:
```bash
$ git clone [email protected]:kayprogrammer/bidout-auction-v2.git
```#### In the root directory:
- Install all dependencies
```bash
$ pip install -r requirements.txt
```
- Create an `.env` file and copy the contents from the `.env.example` to the file and set the respective values. A postgres database can be created with PG ADMIN or psql- Run Locally
```bash
$ alembic upgrade heads
```
```bash
$ sanic app.main:app --debug --reload
```- Run With Docker
```bash
$ docker-compose up --build -d --remove-orphans
```
OR
```bash
$ make build
```- Test Coverage
```bash
$ pytest --disable-warnings -vv
```
OR
```bash
$ make test
```## Docs
#### SWAGGER API Url: [BidOut Docs](https://bidout-fastapi.vercel.app/)
#### POSTMAN API Url: [BidOut Docs](https://bit.ly/bidout-api)![alt text](https://github.com/kayprogrammer/bidout-auction-v2/blob/main/display/display1.png?raw=true)
![alt text](https://github.com/kayprogrammer/bidout-auction-v2/blob/main/display/display2.png?raw=true)
![alt text](https://github.com/kayprogrammer/bidout-auction-v2/blob/main/display/display3.png?raw=true)
![alt text](https://github.com/kayprogrammer/bidout-auction-v2/blob/main/display/display4.png?raw=true)
![alt text](https://github.com/kayprogrammer/bidout-auction-v2/blob/main/display/display5.png?raw=true)