https://github.com/pooulad/nextjs-golang-crud-app
🚀simple full-stack project with nextjs and go-lang
https://github.com/pooulad/nextjs-golang-crud-app
animation api-rest authentication bcrypt crud-application fiber-framework godotenv golang gorm hashing http-server javascript jwt nextjs pagination postgresql reactjs redux typescript
Last synced: about 2 months ago
JSON representation
🚀simple full-stack project with nextjs and go-lang
- Host: GitHub
- URL: https://github.com/pooulad/nextjs-golang-crud-app
- Owner: pooulad
- License: mit
- Created: 2023-08-07T10:27:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-22T17:13:55.000Z (4 months ago)
- Last Synced: 2025-04-02T08:08:31.926Z (3 months ago)
- Topics: animation, api-rest, authentication, bcrypt, crud-application, fiber-framework, godotenv, golang, gorm, hashing, http-server, javascript, jwt, nextjs, pagination, postgresql, reactjs, redux, typescript
- Language: TypeScript
- Homepage:
- Size: 12 MB
- Stars: 34
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nextjs-golang-crud-app
🚨Simple full-stack project with nextjs and go-langThe purpose of creating this project is to learn for junior programmers how to implement a full stack application and create the best structure for the application.
## Technology list in this project
in back-end:
- Fiber
- JWT token
- Validator
- Godotenv
- Paginate
- Postgres
- GORMin front-end:
- React hook form
- Axios
- React-loading
- React-toastify
- Tailwindcss
- Typescript## How to run
In root of source you should run your go project
```bash
go run main.go
```
In root frontend directory you should run your next project
```bash
npm install
npm run dev
```## API Reference
#### Local address
```bash
http://127.0.0.1:8080
```
#### All endpoints```http
GET /api/users -> get all users
POST /api/user -> create new user
PATCH /api/user/:id -> update user
GET /api/user/:id -> get single user
DELETE /api/user/:id -> delete user
POST /api/user -> login
```## Screenshots

