Skip to content

Japan7/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