Skip to content

A Gig Economy Platform API for the unorganized sector is a software interface that allows workers to connect their applications to a job portal platform that serves the needs of the unorganized sector. The API provides functionalities for users to find workers and search for jobs based on their skills and location. Workers can post job listings and

Notifications You must be signed in to change notification settings

fazilnbr/Gig-Economy-Platform

Repository files navigation

Gig-Economy-Platform

This is a REST API Gig economy platform for unorganized job sector User can search worker for there need

Clean Architecture using Golang with Gin framework

Template Structure

  • Gin is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.
  • JWT A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens.
  • GORM with PostgresSQLThe fantastic ORM library for Golang aims to be developer friendly.
  • Wire is a code generation tool that automates connecting components using dependency injection.
  • Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats.
  • swag converts Go annotations to Swagger Documentation 2.0 with gin-swagger and swaggo files

Using go-gin-clean-architecture project

To use go-gin-clean-arch project, follow these steps:

# Navigate into the project
cd ./go-gin-clean-arch

# Install dependencies
make deps

# Generate wire_gen.go for dependency injection
# Please make sure you are export the env for GOPATH
make wire

# Generate mock repocitory and usecase functions
make mockgen

# Run tests

make test

# To generate api documentation with swagger
make swag

# Run the project in Development Mode
make run

Additional commands:

➔ make help
build                          Compile the code, build Executable File
run                            Start application
test                           Run tests
test-coverage                  Run tests and generate coverage file
deps                           Install dependencies
deps-cleancache                Clear cache in Go module
wire                           Generate wire_gen.go
swag                           Generate swagger docs
mockgen                        Generate mock repocitory and usecase functions 
help                           Display this help screen

About

A Gig Economy Platform API for the unorganized sector is a software interface that allows workers to connect their applications to a job portal platform that serves the needs of the unorganized sector. The API provides functionalities for users to find workers and search for jobs based on their skills and location. Workers can post job listings and

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages