没有合适的资源?快使用搜索试试~ 我知道了~
soci-backend
共104个文件
go:66个
sql:30个
md:2个
需积分: 9 0 下载量 71 浏览量
2021-04-09
16:24:58
上传
评论
收藏 90KB ZIP 举报
温馨提示
SOCI API-现在可以使用! 这个小程序运行SCOI Web App的后端API。 要求 您需要设置一些环境变量才能运行go应用。 如果没有这些设置,它将做出一些(合理的)默认假设: APP_PORT=9000 DB_HOST=localhost DB_PORT=3306 DB_DATABASE=socidb DB_USER=dbuser DB_PASSWORD=password 您需要设置一个没有默认值的环境变量。 APP_KEY是用于签名JWT令牌的内容,它应该是介于32和64个字符之间的不错的随机字符串。 如果您更改此设置,则用一个密钥签名的JWT将无法用另一个密钥读取。 因此,在本地计算机上,我从项目根目录使用以下命令启动linux二进制文件: APP_KEY=asdf DB_USER=root DB_PASSWORD=secret dist/socid 接下来,您可能
资源推荐
资源详情
资源评论
收起资源包目录
soci-backend (104个子文件)
.gitignore 47B
post_test.go 13KB
comment_vote_test.go 10KB
comment.go 10KB
user.go 10KB
post.go 8KB
user_test.go 8KB
comment_vote.go 7KB
post_tag.go 6KB
post_tag_vote.go 6KB
comment_test.go 6KB
postGetters.go 5KB
postTagCreate.go 4KB
payout_test.go 3KB
tag.go 3KB
post_tag_vote_test.go 3KB
postTagVoteCreate.go 3KB
postTagVoteDelete.go 3KB
utilities_test.go 3KB
subscription.go 3KB
commentGetters.go 2KB
routes.go 2KB
commentVoteGetters.go 2KB
userHelpers.go 2KB
checkToken.go 2KB
userCreate.go 2KB
tag_test.go 2KB
config.go 2KB
payout.go 2KB
userLoginSocial.go 2KB
commentCreate.go 2KB
models_test.go 2KB
commentUpdate.go 1KB
middleware.go 1KB
post_tag_test.go 1KB
subscription_test.go 1KB
commentAbandon.go 1KB
userGetters.go 1KB
commentDelete.go 1KB
transaction.go 1KB
subscriptionCreate.go 1KB
responseWriters.go 1KB
bootstrap.go 1KB
userLogin.go 1KB
postCreate.go 1KB
subscriptionDelete.go 950B
commentVoteCreate.go 936B
app.go 904B
utilities.go 759B
commentVoteDelete.go 688B
url_test.go 684B
parseRouteParamater_test.go 677B
postHelpers.go 667B
tokenCreator.go 602B
subscriptionGetters.go 508B
main.go 461B
postTagVoteGetters.go 460B
tagGetters.go 428B
models.go 388B
home.go 342B
handlers.go 341B
makeError_test.go 340B
url.go 329B
info.go 327B
parseRouteParamater.go 254B
log.go 215B
makeError.go 203B
index.html 6KB
README.md 3KB
license.md 1KB
go.mod 1KB
localRun.sh 451B
build.sh 269B
00010_create_comments_table.sql 817B
00002_create_posts_table.sql 767B
00027_create_comment_votes_table copy.sql 615B
00011_create_votes_table.sql 583B
00001_create_users_table.sql 579B
00004_create_tags_table.sql 528B
00012_create_posts_tags_votes_table.sql 480B
00021_create_subscriptions_table.sql 455B
00005_create_posts_tags_table.sql 449B
00023_add_created_at_and_tallied_to_post_tags_votes.sql 316B
00017_add_lineage_score_descendent_comment_count_to_comments_table.sql 306B
00024_add_subscription_amount_to_user.sql 298B
00022_add_resolution_to_posts_table.sql 292B
00009_add_constraint_and_set_default_values_on_users_table.sql 288B
00028_add_upvotes_and_downvotes_to_comments.sql 285B
00003_add_name_column_to_users_table.sql 269B
00026_add_cash_to_user.sql 267B
00006_add_last_login_to_users_table.sql 265B
00015_add_id_to_posts_tags_votes_table.sql 257B
00014_add_id_to_posts_tags_table.sql 251B
00025_add_creator_id_to_post_tags_votes.sql 251B
00007_add_type_column_to_posts_table.sql 249B
00008_add_username_to_users_table.sql 244B
00013_add_score_to_posts_tags_table.sql 237B
00019_increase_comment_length.sql 236B
00020_allow_comment_author_to_be_null.sql 233B
00029_add_description_to_users.sql 227B
共 104 条
- 1
- 2
资源评论
Fl4me
- 粉丝: 36
- 资源: 4600
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- YOLOV4-TINY权重文件
- 以下是一个使用贪心算法解决多机调度问题的基本步骤0.txt
- 基于大数据的房产估价是近年来随着技术的发展而兴起的一种新型估价方法.txt
- 企业供应链管理系统v3.rar
- 富芮坤FR8016HA蓝牙开发板使用手册+硬件PCB图+封装库+DEMO演示软件源代码.zip
- 基于YOLOv7的芯片表面缺陷检测系统
- 京东物流 数字化供应链综合研究报告2018.rar
- 基于YOLOv7的植物虫害识别&防治系统
- 2000.1-2023.8中国经济政策不确定性指数月度数据.xlsx
- Screenshot_2024-04-21-20-42-15-443_com.tencent.mm.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功