hooks
"Zero" Api / Type Safe / Fullstack Kit / Powerful Backend
File Explorer
Download Latest Version (.zip)- config.json
- README.md
- release.yml
- site.yml
- sync.yml
- test.yml
- pre-commit
- api.md
- builtin-hooks.md
- client.md
- component.md
- config.md
- cors.md
- debug.md
- deploy.md
- file-route.md
- fullstack.md
- intro.md
- middleware.md
- prisma.md
- safe.md
- test.md
- upload.md
- validate.md
- bootstrap.js
- configuration.ts
- index.ts
- .gitignore
- midway.config.js
- package.json
- readme.md
- tsconfig.json
- bootstrap.js
- date.ts
- configuration.ts
- index.ts
- .gitignore
- midway.config.js
- package.json
- readme.md
- tsconfig.json
- migration.sql
- migration_lock.toml
- schema.prisma
- seed.ts
- logo.png
- configuration.ts
- drafts.ts
- feed.ts
- post.ts
- prisma.ts
- user.ts
- Header.css
- Header.tsx
- Layout.tsx
- Post.tsx
- Create.css
- Create.tsx
- Drafts.css
- Drafts.tsx
- index.css
- index.tsx
- p.css
- p.tsx
- Signup.css
- Signup.tsx
- app.tsx
- .gitignore
- index.html
- midway.config.ts
- package.json
- README.md
- tsconfig.json
- yarn.lock
- logo.png
- book.ts
- configuration.ts
- date.ts
- star.ts
- index.css
- index.tsx
- .gitignore
- index.html
- midway.config.ts
- package.json
- README.md
- tsconfig.json
- logo.png
- book.ts
- configuration.ts
- date.ts
- serve.ts
- star.ts
- index.css
- index.tsx
- .gitignore
- f.yml
- index.html
- midway.config.js
- package.json
- README.md
- tsconfig.json
- vite.config.ts
- logo.png
- book.ts
- configuration.ts
- date.ts
- star.ts
- upload.ts
- index.css
- index.tsx
- .gitignore
- index.html
- midway.config.ts
- package.json
- README.md
- tsconfig.json
- favicon.ico
- logo.png
- book.ts
- configuration.ts
- date.ts
- star.ts
- App.vue
- env.d.ts
- main.ts
- .gitignore
- index.html
- midway.config.ts
- package.json
- README.md
- tsconfig.json
- favicon.ico
- logo.png
- book.ts
- configuration.ts
- date.ts
- serve.ts
- star.ts
- App.vue
- env.d.ts
- main.ts
- .gitignore
- f.yml
- index.html
- midway.config.js
- package.json
- README.md
- tsconfig.json
- vite.config.ts
- bundler.test.ts.snap
- bundler.test.ts
- index.ts
- webpack.test.ts.snap
- index.ts
- index.ts
- util.ts
- index.ts
- webpack.test.ts
- CHANGELOG.md
- package.json
- README.md
- package.json
- configuration.ts
- index.ts
- .gitignore
- f.yml
- midway.config.js
- package.json
- readme.md
- tsconfig.json
- configuration.ts
- index.ts
- .gitignore
- f.yml
- midway.config.js
- package.json
- readme.md
- tsconfig.json
- configuration.ts
- index.ts
- .gitignore
- midway.config.js
- package.json
- readme.md
- tsconfig.json
- middleware.test.ts
- server.test.ts
- util.ts
- app.ts
- index.ts
- middleware.ts
- server.ts
- share.ts
- CHANGELOG.md
- package.json
- README.md
- package.json
- index.ts
- tsconfig.json
- index.test.ts
- mock.ts
- index.ts
- register.ts
- CHANGELOG.md
- package.json
- README.md
- hcc.js
- package.json
- cli.ts
- index.ts
- midway.ts
- midway.test.ts.snap
- bootstrap.js
- date.ts
- configuration.ts
- index.ts
- .gitignore
- midway.config.js
- package.json
- readme.md
- tsconfig.json
- cli.test.ts
- midway.test.ts
- CHANGELOG.md
- package.json
- README.md
- package.json
- component.test.ts.snap
- hoc.test.ts.snap
- hooks.test.ts.snap
- component.test.ts
- hoc.test.ts
- hooks.test.ts
- adapter.ts
- serverless.ts
- type.ts
- validate.ts
- component.ts
- configuration.ts
- hoc.ts
- hooks.ts
- index.ts
- middleware.ts
- index.ts
- index.ts
- api-router.test.ts.snap
- index.ts
- [slot].ts
- index.ts
- default.ts
- configuration.ts
- middleware.ts
- midway.config.ts
- package.json
- [slot].ts
- index.ts
- default.ts
- configuration.ts
- middleware.ts
- midway.config.ts
- package.json
- api-router.test.ts
- fs-router.test.ts
- CHANGELOG.md
- package.json
- README.md
- index.test.ts.snap
- index.test.ts
- adapter.ts
- index.ts
- CHANGELOG.md
- package.json
- README.md
- index.ts
- api.test.ts.snap
- api.test.ts
- validate.test.ts.snap
- validate.test.ts
- http.ts
- middleware.ts
- validate.ts
- api.ts
- common.ts
- index.ts
- type.ts
- util.test.ts
- const.ts
- index.ts
- util.ts
- validator.ts
- loader.test.ts.snap
- invalid.ts
- valid.ts
- ApiRouter.test.ts
- loader.test.ts
- api.ts
- base.ts
- index.ts
- loader.ts
- AsyncLocalStorage.test.ts
- AsyncLocalStorage.ts
- index.ts
- type.ts
- common.ts
- config.ts
- index.ts
- index.ts
- CHANGELOG.md
- package.json
- README.md
- config.test.ts.snap
- midway.config.js
- package.json
- midway.config.ts
- package.json
- midway.config.ts
- package.json
- config.test.ts
- config.ts
- index.ts
- type.ts
- FileSystemRouter.test.ts.snap
- parse.test.ts.snap
- FileSystemRouter.test.ts
- parse.test.ts
- file.ts
- index.ts
- const.ts
- hydrate.ts
- index.ts
- root.ts
- util.ts
- CHANGELOG.md
- package.json
- README.md
- hooks.js
- package.json
- build.ts
- dev.ts
- start.ts
- check.ts
- cli.ts
- config.ts
- index.ts
- CHANGELOG.md
- package.json
- README.md
- index.ts
- configuration.ts
- index.ts
- midway.config.js
- package.json
- tsconfig.json
- index.test.ts
- upload.js
- CHANGELOG.md
- package.json
- README.md
- http.test.ts.snap
- http.test.ts
- util.test.ts
- client.ts
- http.ts
- index.ts
- type.ts
- util.ts
- CHANGELOG.md
- package.json
- README.md
- index.ts
- index.html
- configuration.ts
- index.ts
- midway.config.js
- package.json
- tsconfig.json
- index.test.ts
- CHANGELOG.md
- package.json
- README.md
- app.ts
- index.ts
- CHANGELOG.md
- package.json
- README.md
- @manypkg__get-packages@1.1.3.patch
- create-pkg.ts
- publish-snapshot.ts
- remove-tag.ts
- set-tag.ts
- sync.ts
- sync_status.ts
- util.ts
- index.ts
- package.json
- README.md
- changeset.md
- .all-contributorsrc
- .gitignore
- .gitpod.yml
- .npmrc
- .prettierignore
- babel.config.js
- jest.config.ts
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- prettier.config.js
- README.md
- README.zh-cn.md
- renovate.json
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/midwayjs/hooks
Downloads the entire project code from GitHub to your computer.
cd hooks
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
$ pnpm install
Downloads and installs the libraries listed in package.json.
$ pnpm build
Type this command into your terminal and run it.
$ pnpm watch
Type this command into your terminal and run it.
$ pnpm test
Type this command into your terminal and run it.
<img src="https://img.shields.io/npm/v/@midwayjs/hooks/latest?style=for-the-badge">
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
