tmountain / server-action-crud

Tiny demo of easy crud with server actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Description

Supabase demo using server actions for CRUD

Database

To insert initial data into the notes table, run:

INSERT INTO notes(title)
VALUES
  ('Today I created a Supabase project.'),
  ('I added some data and queried it from Next.js.'),
  ('It was awesome!');

Installation

To install the project, run the following commands:

git clone https://github.com/tmountain/server-action-crud
cd server-action-crud
npm install

Starting the Development Server

To start the Next.js development server, run:

npx next dev

The server will start in development mode and can be accessed at http://localhost:3000/notes.

About

Tiny demo of easy crud with server actions


Languages

Language:TypeScript 96.8%Language:JavaScript 1.6%Language:CSS 1.6%