Zqc Server Demo

screenshot of Zqc Server Demo

Lite version of zaiqiuchang api server, which developed by go and deploy using docker. It also can be used as a starter kit for developing api server.

Overview

Zaiqiuchang (在球场) is a mobile app developed using React Native, available on both iOS and Android platforms. This project serves as the lite version of the API server, developed in Go and deployed using Docker. The lite version includes only account-related APIs, making it a good starting point for developers who want to customize their own version.

Features

  • Http server and framework: Uses the github.com/labstack/echo package to handle HTTP requests and build web applications.
  • CLI app framework: Utilizes the github.com/spf13/cobra package for building command-line applications.
  • Manage app configuration: Includes the github.com/spf13/viper package to handle app configuration.
  • Validate input: Uses the github.com/asaskevich/govalidator package to validate input data.
  • Logging: Incorporates the github.com/Sirupsen/logrus package for logging purposes.
  • Mongodb driver: Includes the gopkg.in/mgo.v2 package to connect and interact with MongoDB.
  • Redis driver: Utilizes the github.com/garyburd/redigo/redis package to connect and interact with Redis.
  • Manage user session: Incorporates the github.com/gorilla/sessions package for managing user sessions.
  • Test framework: Uses the github.com/smartystreets/goconvey/convey package as the testing framework.

Summary

Zaiqiuchang is a mobile app built using React Native, with support for both iOS and Android. This article focuses on the server-side implementation of the app, covering key features and installation instructions. The server is developed in Go, deployed using Docker, and includes various packages for handling HTTP requests, command-line apps, configuration management, data validation, logging, database drivers, session management, and testing. The provided installation guide details the steps for deploying the server in development or production mode, running tests, and building custom images.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.