Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.34 KB

readme.md

File metadata and controls

66 lines (43 loc) · 1.34 KB

KusKus

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

Project was started for EdgeDB hackathon. The video gives an overview of it.

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.