https://github.com/habbatul/projectshowcase
Restful API for your project showcase
https://github.com/habbatul/projectshowcase
fiber gorm onprogress swagger wire
Last synced: 7 months ago
JSON representation
Restful API for your project showcase
- Host: GitHub
- URL: https://github.com/habbatul/projectshowcase
- Owner: Habbatul
- Created: 2024-04-28T17:05:05.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-17T13:08:21.000Z (10 months ago)
- Last Synced: 2025-06-01T16:33:39.749Z (9 months ago)
- Topics: fiber, gorm, onprogress, swagger, wire
- Language: Go
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Project Showcase RestfulAPI
Restful API CRUD to build your portfolio app. You can create your project documentation and showcase using this Restful API.
## Feature
- Save multiple images in one project.
- Store multiple tags for a single project.
- Store multiple categories for a single project.
- Maintain relationships for existing categories and tags without duplicating entries.
- Filtering list project by category.
- Cursor Pagination (use the last project ID from the previous page as the **cursor** to load the next page of projects).
- This project use OOP and Dependency Injection.
## ⌨️ Tech Stack
Here are some of the tech stacks that I used to develop this restful API :
- Gorm
- Fiber
- Wire
- Swaggo
## How to run locally
```
git clone
go mod tidy
go run github.com/google/wire/cmd/wire
go run .
```
## How to use some tools
- Generate swagger in your desired directory
```
swag init -d ./ -o ./main/docs
```
for more https://github.com/swaggo/swag
- Generate dependency injection from wire.go
```
go run github.com/google/wire/cmd/wire
```
for more https://github.com/google/wire/tree/main