30 lines
578 B
Markdown
30 lines
578 B
Markdown
|
|
# Go Backend for Niumall
|
||
|
|
|
||
|
|
This is the Go implementation of the Niumall backend using the Gin framework.
|
||
|
|
|
||
|
|
## Project Structure
|
||
|
|
|
||
|
|
```
|
||
|
|
go-backend/
|
||
|
|
├── README.md
|
||
|
|
├── go.mod
|
||
|
|
├── go.sum
|
||
|
|
├── main.go
|
||
|
|
├── config/
|
||
|
|
├── models/
|
||
|
|
├── routes/
|
||
|
|
├── controllers/
|
||
|
|
├── middleware/
|
||
|
|
├── utils/
|
||
|
|
└── docs/
|
||
|
|
```
|
||
|
|
|
||
|
|
## Getting Started
|
||
|
|
|
||
|
|
1. Install Go (version 1.16 or later)
|
||
|
|
2. Run `go mod tidy` to install dependencies
|
||
|
|
3. Run `go run main.go` to start the server
|
||
|
|
|
||
|
|
## API Documentation
|
||
|
|
|
||
|
|
API documentation is available in the `docs/` directory.
|