Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuskusapp/kuskus
Food/drink sharing app
https://github.com/kuskusapp/kuskus
edgedb nextjs
Last synced: 4 days ago
JSON representation
Food/drink sharing app
- Host: GitHub
- URL: https://github.com/kuskusapp/kuskus
- Owner: kuskusapp
- Created: 2023-02-26T00:05:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T19:15:52.000Z (6 months ago)
- Last Synced: 2024-05-23T01:05:38.182Z (6 months ago)
- Topics: edgedb, nextjs
- Language: TypeScript
- Homepage: https://kuskus.app
- Size: 48.8 MB
- Stars: 61
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# KusKus
Started from [Next.js + EdgeDB + EdgeDB Auth template](https://github.com/edgedb/nextjs-edgedb-auth-template).
Project was started for [EdgeDB hackathon](https://hackathon.edgedb.com). The [video](https://www.youtube.com/watch?v=w4gWZb7fTGY) gives an overview of it.
## Setup
[Bun](https://bun.sh) is used to run/install things.
```
bun i
```Install [EdgeDB](https://www.edgedb.com/) using:\
(or update to version in [/edgedb.toml](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](https://github.com/edgedb/edgedb-js) types with:
```
bun generate:all
```Sets up seed folder for [cli/seed.ts](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](https://github.com/edgedb/nextjs-edgedb-auth-template) and [EdgeDB docs](https://docs.edgedb.com/).
## Contribute
Always open to useful ideas or fixes in form of issues or PRs.