Skip to content
/ nanapi Public
forked from Japan7/nanapi

FastAPI + EdgeDB backend for Nana-chan

License

Notifications You must be signed in to change notification settings

odrling/nanapi

 
 

Repository files navigation

nanapi

Develop with nanadev 🏠🍽️

One-click™ dev environment for nanapi and nanachan: https://github.com/Japan7/nanadev

Open in GitHub Codespaces

Develop locally

git clone https://github.com/Japan7/nanapi.git
cd nanapi/

Setup EdgeDB

Follow the installation guide: https://www.edgedb.com/install

Launch and link an instance to the project:

edgedb project init

Web UI: edgedb ui

Setup Meilisearch

docker run -d --name meilisearch -p 7700:7700 getmeili/meilisearch:latest

Local Settings

  1. Copy nanapi/example.local_settings.py to nanapi/local_settings.py
  2. Fill all the uncommented required variables

Run nanapi

uv run --frozen -m nanapi

API docs: http://127.0.0.1/docs or http://127.0.0.1/redoc

About

FastAPI + EdgeDB backend for Nana-chan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 81.7%
  • EdgeQL 18.2%
  • Dockerfile 0.1%