Skip to content

kuskusapp/kuskus

Repository files navigation

KusKus

Started from Next.js + EdgeDB + EdgeDB Auth template.

Setup

Bun is used to run/install things.

bun i

Install EdgeDB using:
(or update to version in /edgedb.toml using edgedb cli upgrade)

curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh

Create new EdgeDB instance:
(if it asks you for version, accept main)

edgedb project init

Name instance kuskus. Apply migrations with:

edgedb migration apply

Setup auth with:
(app name: "kuskus", and accept everything else)

bun auth:setup

Generate EdgeDB-JS types with:

bun generate:all

Sets up seed folder for cli/seed.ts to work well.

bun setup

Run

bun dev

Can then create account by pressing sign up on top corner.

More info on development can be read in Next.js + EdgeDB + EdgeDB Auth template and EdgeDB docs.

Contribute

Always open to useful ideas or fixes in form of issues or PRs.