Giter VIP home page Giter VIP logo

rapide's Introduction


Rapide

CI/CD Badge GitHub License GitHub go.mod Go version Sourcegraph codecov Go Reference rcard
👋 Welcome to Rapide!

Rapide is a simple backend project framework developed in Go, with features covering the most popular technology stacks. It's highly suitable for beginners looking to get started with learning.


Install air

Air is a hot-reloading tool for Go. It can monitor changes to files or directories, automatically compile, and restart the program, thereby improving development efficiency. It requires Go version 1.16 or higher.

go install github.com/cosmtrek/air@latest

Run on IDE

git clone https://github.com/yahahaff/rapide.git
cd rapide
go mod tidy
swag init
air

Envs

变量名 默认值 简介
APP_ENV debug debug,test,release
APP_PORT 8000 app port
DB_DRIVER sqlite 数据库连接驱动器 支持mysql,sqlite
DB_CONNECTION_HOST localhost mysql主机地址
DB_CONNECTION_PORT 3306 mysql数据库端口
DB_CONNECTION_USERNAME root mysql数据库用户
DB_CONNECTION_PASSWORD password mysql数据库密码
DB_CONNECTION_DATABASE rapide mysql数据库
DB_CONNECTION_FILE database.db sqlite db file
REDIS_HOST 8000 redis host
REDIS_PORT 6379 redis port
LOG_PATH rapide.log 日志路径

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.