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: 11 months 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 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T03:05:50.000Z (about 2 years ago)
- Last Synced: 2025-01-29T15:22:11.182Z (about 1 year 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

#### 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 git@github.com: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)




