Supabase demo using server actions for CRUD
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!');
To install the project, run the following commands:
git clone https://github.com/tmountain/server-action-crud
cd server-action-crud
npm install
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
.