https://github.com/veoscript/go-gin-crud
Practicing basic CRUD using Go and NextJS
https://github.com/veoscript/go-gin-crud
gin golang gorm jwt-authentication nextjs rest-api tailwindcss tanstack-react-query zustand
Last synced: 4 months ago
JSON representation
Practicing basic CRUD using Go and NextJS
- Host: GitHub
- URL: https://github.com/veoscript/go-gin-crud
- Owner: VeoScript
- Created: 2024-01-28T06:24:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T03:48:01.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T21:47:18.158Z (about 1 year ago)
- Topics: gin, golang, gorm, jwt-authentication, nextjs, rest-api, tailwindcss, tanstack-react-query, zustand
- Language: TypeScript
- Homepage:
- Size: 12.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Experimenting NextJS with Go/Gin/Gorm
A basic CRUD operation with cookie based Authentication.
## Client (React/NextJS)
- Step 1: `cd ./client`
- Step 2: `yarn install`
- Step 3: `yarn dev`
## API (Go/Gin)
You must create your database first and run the migration in migration folder. I am using PostgreSQL.
- Step 1: `cd ./api`
- Step 2: `go build`
- Step 3: `CompileDaemon -command="./go-gin-crud"`
- Step 4: Go to http://localhost:3333/api/v1/blogs/
> VEOSCRIPT