https://github.com/gxanshu/goapi
playing with Go
https://github.com/gxanshu/goapi
goapi golang
Last synced: 2 months ago
JSON representation
playing with Go
- Host: GitHub
- URL: https://github.com/gxanshu/goapi
- Owner: gxanshu
- License: other
- Created: 2024-02-24T05:29:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T02:02:24.000Z (over 1 year ago)
- Last Synced: 2025-03-11T03:42:09.597Z (11 months ago)
- Topics: goapi, golang
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Go API Project
## Overview
This project is my first API project in Go (Golang), where I've implemented various features such as middleware, authentication, data fetching, API routes, and JSON handling.
## External Packages Used
- [github.com/go-chi/chi](https://github.com/go-chi/chi) v1.5.5
- [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) v1.9.3
- [github.com/gorilla/schema](https://github.com/gorilla/schema) v1.2.1
## Features
- **Middlewares**: Implemented middleware for handling various aspects of the request/response lifecycle.
- **Authentication**: Integrated authentication mechanisms to secure the API endpoints.
- **Data Fetching**: Implemented methods to fetch and manipulate data from external sources.
- **API Routes**: Defined API routes for different functionalities of the API.
- **JSON Handling**: Used for parsing and encoding JSON data in requests and responses.
## Getting Started
1. Clone the repository: `git clone https://github.com/your-username/your-repo.git`
2. Install dependencies: `go mod tidy`
3. Build and run the project: `go build && ./your-app`
## Contributing
Contributions are welcome! Feel free to fork the repository and submit pull requests.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
🚀 Happy Coding! 🚀