GoRestAPI is a high-performance Go framework for building REST APIs. It provides a clean and intuitive structure with features like routing, middleware support, and data validation. Perfect for production-ready applications, from simple data services to complex microservice architectures.
- ✅ Efficient routing
- ✅ Middleware support
- ✅ Built-in data validation
- ✅ Modular structure for easy maintenance
- Clone the repository:
git clone [https://github.com/petersonchiquetto/GoRestAPI.git](https://github.com/petersonchiquetto/GoRestAPI.git)
cd GoRestAPI
- Install dependencies:
go mod tidy
- Run the application:
go run main.go
Once the application is running, the API will be available at http://localhost:8080
.
You can use tools like Postman or curl
to interact with the available endpoints.
GoRestAPI/
├── pizzaria/
│ ├── controllers/ 🍽️ # Handles HTTP requests and responses
│ ├── models/ 📄 # Defines data structures and database interactions
│ ├── routes/ 🛤️ # Manages API routes
│ └── services/ ⚙️ # Contains business logic
├── .gitignore
├── go.mod
├── go.sum
├── LICENSE
└── main.go 🚀
💡 Contributions are highly welcome! Feel free to open issues or submit pull requests.
📄 This project is licensed under the MIT License. See the LICENSE
file for more details.
🔗 Repository: GoRestAPI
Enjoyed it? ⭐ Don’t forget to give the repository a star! 🚀✨