🚨Simple full-stack project with nextjs and go-lang
The 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.
in back-end:
- Fiber
- JWT token
- Validator
- Godotenv
- Paginate
- Postgres
- GORM
in front-end:
- React hook form
- Axios
- React-toastify
- Tailwindcss
- Typescript
- Next-auth
In root of source you should run your go project
go run main.go
In root frontend directory you should run your next project
npm install
npm run dev
http://127.0.0.1:8080
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/login -> login to account
This section tracks the progress of implemented features in the File Trove CLI tool.
- Add swagger to project.
- Add Next-auth to project -> frontend directory.
- Add all api response states(success,failure).