feat(deploy): allow deploying on deta.space

- **BREAKING CHANGE**: Api url now /api/v1 \n **Fix**: Frontend build. \n **Fix**: errors about unknown styles

BREAKING CHANGE:
This commit is contained in:
Kentai Radiquum 2024-05-13 22:20:08 +05:00
parent d85ce45989
commit d97ad7dbfe
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
19 changed files with 504 additions and 412 deletions

14
Spacefile Normal file
View file

@ -0,0 +1,14 @@
v: 0
# icon: ./icon.png
micros:
- name: anix-api
src: ./backend/
engine: python3.9
path: api
run: uvicorn main:app --root-path /api
dev: uvicorn main:app --reload
- name: anix-app
src: ./frontend/
engine: next
primary: true