Este 源代码解析

Este 是一个基于 React 的通用框架。将解析其源代码。

准备工作

  • Node.js (Node 8 以上版本)
  • Git

开发环境搭建

  1. 克隆代码仓库:

    bash

    git clone https://github.com/este.git este

  2. 进入项目目录:

    bash

    cd este

  3. 安装依赖:

    bash

    yarn

源码解读 (待补充)

zip
este, 探索源代码.zip 预估大小:151个文件
file
.gitignore 98B
file
prisma-schema.ts 11KB
file
index.ts 23KB
file
prisma.yml 371B
file
seed.graphql 188B
file
docker-compose.yml 536B
file
datamodel.prisma 307B
file
package.json 2KB
file
.nowignore 34B
file
LICENSE 1KB
file
tsconfig.json 395B
file
getUser.ts 1KB
file
package.json 814B
file
webModel.ts 2KB
file
createPermissions.ts 1KB
file
index.ts 914B
file
userModel.ts 3KB
file
README.md 130B
file
index.ts 904B
file
validateSignIn.ts 314B
file
validateCreateWeb.ts 269B
file
web.ts 2KB
file
user.ts 2KB
file
errors.ts 603B
file
index.ts 2KB
file
schema.graphql 2KB
file
typegen.ts 8KB
file
index.ts 2KB
file
handleApiGraphQLError.ts 1KB
file
types.ts 193B
file
pages_data.graphql.ts 2KB
file
signinMutation.graphql.ts 3KB
file
SetUserThemeMutation.graphql.ts 3KB
file
me_data.graphql.ts 1KB
file
webMutation.graphql.ts 3KB
file
web_data.graphql.ts 1KB
file
SetUserTheme_data.graphql.ts 984B
file
signin_data.graphql.ts 695B
file
ViewerTheme_data.graphql.ts 978B
file
CreateWebMutation.graphql.ts 3KB
file
AppQuery.graphql.ts 8KB
file
Layout_data.graphql.ts 940B
file
DeleteWebMutation.graphql.ts 2KB
file
package.json 589B
file
package.json 544B
file
Link.tsx 2KB
file
NProgress.tsx 2KB
file
Layout.tsx 4KB
file
Button.tsx 1KB
file
Gravatar.tsx 796B
file
CreateWeb.tsx 2KB
file
ValidationError.tsx 3KB
file
KeyboardNavigableView.tsx 5KB
file
SetUserTheme.tsx 2KB
file
RouterProviderFix.tsx 526B
file
ViewerTheme.tsx 893B
file
Foo.tsx 226B
file
SaveButton.tsx 711B
file
DeleteWeb.tsx 1KB
file
IntlProviderFix.tsx 492B
file
package.json 187B
file
createHandler.ts 1KB
file
withCORS.ts 990B
file
getEndpoint.ts 1KB
file
.gitignore 846B
file
package.json 740B
file
build.gradle 6KB
file
AndroidManifest.xml 368B
file
AndroidManifest.xml 966B
file
ic_launcher_round.png 7KB
file
ic_launcher.png 4KB
file
ic_launcher_round.png 3KB
file
ic_launcher.png 2KB
file
ic_launcher_round.png 10KB
file
ic_launcher.png 6KB
file
ic_launcher_round.png 5KB
file
ic_launcher.png 3KB
file
ic_launcher_round.png 15KB
file
ic_launcher.png 9KB
file
strings.xml 67B
file
styles.xml 192B
file
MainActivity.java 353B
file
MainApplication.java 1KB
file
build_defs.bzl 602B
file
BUCK 1KB
file
proguard-rules.pro 667B
file
settings.gradle 42B
file
build.gradle 860B
file
BUCK 152B
file
debug.keystore.properties 105B
file
gradlew 5KB
file
gradlew.bat 2KB
file
gradle.properties 856B
file
gradle-wrapper.properties 203B
file
gradle-wrapper.jar 53KB
file
jest.config.js 115B
file
metro.config.js 381B
file
Este.xcscheme 5KB
file
Este-tvOS.xcscheme 5KB
file
project.pbxproj 60KB
file
Info.plist 733B
file
EsteTests.m 2KB
file
Info.plist 2KB
file
main.m 390B
file
AppDelegate.h 386B
file
Info.plist 2KB
file
Contents.json 585B
file
Contents.json 63B
file
AppDelegate.m 1KB
file
LaunchScreen.xib 4KB
file
Info.plist 765B
file
index.js 183B
file
tsconfig.json 374B
file
README.md 621B
file
babel.config.js 77B
file
app.json 45B
file
App.tsx 1KB
file
package.json 1KB
file
next.config.js 1KB
file
tsconfig.json 120B
file
favicon-32x32.png 814B
file
favicon-16x16.png 404B
file
apple-touch-icon.png 6KB
file
babel.config.js 375B
file
_document.tsx 2KB
file
web.tsx 2KB
file
signin.tsx 3KB
file
me.tsx 2KB
file
index.tsx 3KB
file
_app.tsx 6KB
file
package.json 214B
file
lightTheme.ts 7KB
file
darkTheme.ts 284B
file
package.json 440B
file
useMutation.ts 8KB
file
useAuth.tsx 2KB
file
useAppContext.ts 656B
file
useSavedState.ts 393B
file
useConfirm.ts 480B
file
usePageTitles.ts 896B
file
useAppHref.ts 2KB
file
now.json 489B
file
.graphqlconfig.yml 235B
file
.eslintrc.js 3KB
file
env.ts 310B
file
README.md 2KB
file
.env.dev 105B
file
.eslintignore 39B
file
nodemon.json 18B
file
.prettierrc 94B
file
yarn.lock 498KB
...
zip 文件大小:423.73KB