Skip to content

Commit

Permalink
feat: release
Browse files Browse the repository at this point in the history
Merge pull request #20 from Atticuszz/debuging
  • Loading branch information
AtticusZeller authored Jan 13, 2024
2 parents 2ad605e + a491d7d commit 57a8f19
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
poetry-version: 1.7.1
- run: poetry install
- run: poetry run pytest
- uses: codecov/codecov-action@v3

- name: Upload Coverage
uses: codecov/codecov-action@v3

semantic-release:
name: Semantic Release and Publish
Expand Down
97 changes: 78 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,84 @@
![](assets/logo.png)


## Features

* Full **Docker** integration (Docker based).
* Docker Swarm Mode deployment.
* **Docker Compose** integration and optimization for local development.
* Python <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">**FastAPI**</a> backend:
* **Fast**: Very high performance, on par with **NodeJS** and **Go** (thanks to Starlette and Pydantic).
* **Intuitive**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging.
* **Easy**: Designed to be easy to use and learn. Less time reading docs.
* **Short**: Minimize code duplication. Multiple features from each parameter declaration.
* **Robust**: Get production-ready code. With automatic interactive documentation.
* **Standards-based**: Based on (and fully compatible with) the open standards for APIs: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> and <a href="http://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
* <a href="https://fastapi.tiangolo.com/features/" class="external-link" target="_blank">**Many other features**</a> including automatic validation, serialization, interactive documentation, authentication with OAuth2 JWT tokens, etc.
<p align="center">
<img src="assets/logo.png" alt="Logo">
</p>

<p align="center">
<a href="https://opensource.org/licenses/MIT">
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT">
</a>
<a href="https://codecov.io/gh/Atticuszz/fastapi_supabase_template">
<img src="https://codecov.io/gh/Atticuszz/fastapi_supabase_template/branch/main/graph/badge.svg?token=YOUR_TOKEN" alt="codecov">
</a>
<a href="https://github.com/Atticuszz/fastapi_supabase_template/actions">
<img src="https://github.com/Atticuszz/fastapi_supabase_template/actions/workflows/ci.yml/badge.svg" alt="CI">
</a>
<a href="https://github.com/Atticuszz/fastapi_supabase_template/releases/">
<img src="https://img.shields.io/github/release/Atticuszz/fastapi_supabase_template.svg" alt="GitHub release">
</a>
<img src="https://img.shields.io/badge/python-3.10|3.11|3.12-blue.svg" alt="Python">
<a href="https://supabase.com">
<img src="https://supabase.com/badge-made-with-supabase-dark.svg" alt="Made with Supabase">
</a>
</p>

# ⚑SupaFast⚑
___
> supabase & fastapi crud template
## Roadmap 🫢
___
- [x] FastAPI backend
- [x] **standard** structure for <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">**FastAPI**</a> project
```text
── src
β”‚ └── app
β”‚ β”œβ”€β”€ api
β”‚ β”‚ β”œβ”€β”€ api_v1
β”‚ β”‚ β”‚ β”œβ”€β”€ endpoints
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ β”‚ └── items.py
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ └── api.py
β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ └── deps.py
β”‚ β”œβ”€β”€ core
β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”œβ”€β”€ config.py
β”‚ β”‚ └── events.py
β”‚ β”œβ”€β”€ crud
β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”œβ”€β”€ base.py
β”‚ β”‚ └── crud_item.py
β”‚ β”œβ”€β”€ schemas
β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”œβ”€β”€ auth.py
β”‚ β”‚ β”œβ”€β”€ base.py
β”‚ β”‚ β”œβ”€β”€ item.py
β”‚ β”‚ └── msg.py
β”‚ β”œβ”€β”€ services
β”‚ β”‚ └── __init__.py
β”‚ β”œβ”€β”€ utils
β”‚ β”‚ └── __init__.py
β”‚ β”œβ”€β”€ __init__.py
β”‚ └── main.py
...
```
- [x] **auto-auth** by fastapi dependency with supabase-auth
- [x] Full coverage of **CRUD** operations and **api** tests
- [x] pytest integration
- [ ] Supabase integration
- [x] crud supabase-postgresql
- [ ] websocket with supabase-realtime
- [ ] curd supabase-storage
- [ ] supafunc integration
- [ ] deployment
- [ ] Full **Docker** integration (Docker based).


## How to use it

## Release Notes

___
![](assets/usage.gif)
## Release Notes πŸ₯Έ
___
### Latest Changes

* ✨ Upgrade items router with new SQLModel models, simplified logic, and new FastAPI Annotated dependencies. PR [#560](https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/560) by [@tiangolo](https://github.com/tiangolo).
Expand Down
Binary file added assets/usage.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit 57a8f19

Please sign in to comment.