kearfy / demo-nextjs-surrealdb

Basic NextJS app that showcases how to use surrealdb

Home Page:https://demo-blog.devrie.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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.
  • 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

About

Basic NextJS app that showcases how to use surrealdb

https://demo-blog.devrie.sh

License:MIT License


Languages

Language:TypeScript 98.6%Language:JavaScript 1.3%Language:CSS 0.2%