https://github.com/codereviewvideos/nextjs-14-example-crud-app
NextJS 14 CRUD Forms Example
https://github.com/codereviewvideos/nextjs-14-example-crud-app
Last synced: about 2 months ago
JSON representation
NextJS 14 CRUD Forms Example
- Host: GitHub
- URL: https://github.com/codereviewvideos/nextjs-14-example-crud-app
- Owner: codereviewvideos
- Created: 2024-01-06T18:46:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-06T18:52:17.000Z (over 1 year ago)
- Last Synced: 2025-02-02T05:16:58.032Z (4 months ago)
- Language: TypeScript
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##
This is the code repo for the blog post at [https://codereviewvideos.com/nextjs-14-crud-forms-example/]()
To follow along:
* Clone the repo
* `npm install`
* `npm run dev`Also in a different terminal, `docker-compose up`.
The post covers how to set up the database. Here is the SQL you will need.
```sql
DROP TABLE IF EXISTS things CASCADE;CREATE TABLE things
(
id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
quantity INT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
```Have fun!