Skip to content

Latest commit

 

History

History
147 lines (100 loc) · 3.67 KB

README.md

File metadata and controls

147 lines (100 loc) · 3.67 KB

Gocell

GitHub contributors GitHub followers GitHub User's stars GitHub language count GitHub top language GitHub issues GitHub closed issues GitHub repo size

GoCell is a robust and scalable base platform for building web applications using the Go programming language.

Table of Contents

Introduction

GoCell is a robust and scalable base platform for building web applications using the Go programming language. It provides a solid foundation with essential features and a modular architecture that allows developers to quickly kickstart their projects and focus on building core functionality.

Prerequisites

Golang version v1.20

Getting Started

Explain how users can get started with Gocell project.

Running the REST API Server

To run the REST API server, use the following command:

make run

This will start the server using the provided configuration files.

Building the REST API Server

To build the REST API server, use the following command:

make build

This will compile the server executable.

Running the Job Server

To run the Job server, use the following command:

make run-job

This will start the Job server using the specified configuration file.

Building the Job Server

To build the Job server, use the following command:

make build-job

This will compile the Job server executable.

Modules Support

Explain how users can interact with the various modules in Gocell project.

Running Tests

To run tests for all modules, use the following command:

make test

Tidying up Modules

To tidy up the project's Go modules, use the following command:

make tidy

Upgrading Dependencies

To upgrade project dependencies, use the following command:

make deps-upgrade

Cleaning Dependency Cache

To clean the Go module cache, use the following command:

make deps-clean-cache

Tools Commands

Swagger Documentation

To generate Swagger documentation, use the following command:

make swaggo

This will initialize Swagger and generate the API documentation.

Component

  • Integrated Postgres
  • Integrated MySQL
  • Integrated RabbitMQ
  • Integrated Redis
  • Integrated Swagger
  • Integrated Websocket
  • Integrated base middlewares (CORS, ERROR, ...)
  • Integrated Telegram / Slack bot
  • Integrated Logger
  • Integrating Kafka
  • Add Dockerfile
  • Add cronjob