Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrxs/gotodo
A Todo web api built using Go Lang, gin, SQLite (GORM) and Swagger
https://github.com/rrxs/gotodo
api gin gin-gonic go golang gorm gorm-orm swagger
Last synced: about 4 hours ago
JSON representation
A Todo web api built using Go Lang, gin, SQLite (GORM) and Swagger
- Host: GitHub
- URL: https://github.com/rrxs/gotodo
- Owner: rrxs
- Created: 2024-01-09T01:47:50.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-11T02:03:31.000Z (10 months ago)
- Last Synced: 2024-11-16T15:38:15.223Z (about 22 hours ago)
- Topics: api, gin, gin-gonic, go, golang, gorm, gorm-orm, swagger
- Language: Go
- Homepage:
- Size: 92.8 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gotodo
A Web API built with Go. Manage todo items.
## Features
- Create a todo item
- Remove a todo item
- Change a todo item
- List all todos items
- Update a todo item## Technologies used
- Go
- SQLite
- [Swag](https://github.com/swaggo/swag) (Swagger docs)
- [GORM](https://gorm.io/index.html) (ORM library)
- [gin](https://github.com/gin-gonic/gin) (Web Framework)## Demo
![swagger image](assets/swagger.png)## Installation
To use this project, you need to follow these steps:
1. Clone the repository: `git clone https://github.com/rrxs/gotodo.git`
2. Install the dependencies: `go mod download`
3. Build the application: `go build`
4. Run the application: `./main`The application should be running on port `8080`.
After that you can access swagger by hitting [http://localhost:8080/swagger/index.html](http://localhost:8080/swagger/index.html#/)