super-buaa-2021 / ginbook Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://super-buaa-2021.github.io/GinBook/
Home Page: https://super-buaa-2021.github.io/GinBook/
https://super-buaa-2021.github.io/GinBook/post/preparation/3.html#configinitviper
捉个虫,jwt配置第一行有错别字,生产环境时记得修改
database:
ip: '127.0.0.1' # MySQL的IP地址
port: '3306' # MySQL的端口
user: 'username' # MySQL的用户名
password: 'password' # MySQL对应用户的密码
database: 'dbname' # 使用的MySQL数据库名称
jwt:
# token 密钥,生产环境时及的修改
secret: 'demo@'
# token 过期时间 单位:秒
timeout: 3600
server:
backend_url: 'http://127.0.0.1:8081/api/v1'
捉虫处加粗了
ORM(对象关系映射)可以在关系型数据库与对象之间建立映射,可以想操纵对象一样操作数据库。而在Go中,我所指的有Gorm与Beego ORM两种ORM库用一操作数据库。而本Book中选择Gorm。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.