Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kearfy/portfolio


https://github.com/kearfy/portfolio

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Basic NextJS + SurrealDB demo

This app showcases how you can use nextjs in combination with surrealdb.

It's inspired by two other projects that I'm working on:
- https://github.com/theopensource-company/kards-social
- https://github.com/theopensource-company/playrbase

## How to use?

- Install SurrealDB on your system.
- Run a local database and run all table definitions in there that are included in the tables folder.
- I personally suggest to use Surrealist: https://github.com/StarlaneStudios/Surrealist
- Adjust the connection settings in the hooks/Surreal.tsx file
- Run `pnpm i` in the root of the project to install dependencies.
- Run `pnpm dev` to start the NextJS development server.
- Access the app at: http://localhost:8000