没有合适的资源?快使用搜索试试~ 我知道了~
boilerplate:样板postgresql,react,graphql,knex,postgraphile,apollo
共51个文件
js:11个
tsx:7个
ts:7个
需积分: 5 0 下载量 148 浏览量
2021-04-11
18:36:26
上传
评论
收藏 209KB ZIP 举报
温馨提示
具有PostGraphile和React的全栈式Web应用程序 此供参考博客文章: 以下是有关我们将用于构建体系结构的技术的详细信息。 数据库:PostgreSQL 服务器:Node,ExpressJS和PostGraphile 客户端:React + TypeScript,GraphQL,Apollo客户端 模式处理:Knex迁移。 服务器 在以下文件.env下安装postgreSQL并更新配置 根据您的要求将sample.env编辑并保存为.env并更新配置。 在server运行以下命令以安装所需的软件包: npm install 对于架构迁移: 这是该文件夹的结构: 服务器 D b 迁移 种子 要按照架构迁移文件更新表,请运行以下命令: npx knex migrate:latest 要使用静态数据/种子更新表,请运行以下命令: npx knex seed:
资源推荐
资源详情
资源评论
收起资源包目录
boilerplate-main.zip (51个子文件)
boilerplate-main
client
codegen.yml 300B
package.json 1KB
.prettierrc 86B
src
ApolloClient.tsx 387B
App.css 564B
react-app-env.d.ts 40B
logo.svg 3KB
Components
UpdateUser.tsx 2KB
Users.tsx 1KB
graphql
query
getUsers.query.ts 175B
mutations
createUser.mutation.ts 188B
postUser.mutation.xsxs 278B
updateUserById.mutation.ts 231B
generated
graphql.tsx 34KB
index.tsx 452B
serviceWorker.ts 5KB
App.tsx 601B
setupTests.ts 255B
utils
services.ts 272B
App.test.tsx 280B
index.css 366B
tsconfig.json 491B
.gitignore 310B
public
logo192.png 5KB
manifest.json 492B
robots.txt 57B
index.html 2KB
logo512.png 9KB
favicon.ico 4KB
README.md 2KB
yarn.lock 397KB
server
dev.sqlite3 0B
knexfile.js 1KB
package.json 652B
db
migrations
20200123190059_migration_create_comment_table.js 663B
20200122192011_migration_create_table.js 1KB
knex.js 170B
seeds
02_posts.js 557B
01_users.js 448B
.prettierrc 94B
package-lock.json 120KB
src
postgraphile.js 390B
index.js 421B
yarn.lock 97KB
migration_create_table.js 2KB
package.json 50B
.gitignore 2KB
README.md 2KB
yarn.lock 4KB
seeds
02_posts.js 333B
01_users.js 333B
共 51 条
- 1
资源评论
白苏艾
- 粉丝: 33
- 资源: 4608
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功