https://github.com/ynwd/keno
TypeScript fastify+react monolithic webapp
https://github.com/ynwd/keno
dependency-injection fastify react typescript
Last synced: about 1 month ago
JSON representation
TypeScript fastify+react monolithic webapp
- Host: GitHub
- URL: https://github.com/ynwd/keno
- Owner: ynwd
- Created: 2020-03-16T18:17:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T02:17:27.000Z (about 2 years ago)
- Last Synced: 2025-07-25T03:25:43.661Z (11 months ago)
- Topics: dependency-injection, fastify, react, typescript
- Language: TypeScript
- Homepage:
- Size: 739 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Keno
Fast monolithic webapp. Build with `fastify-di`, `react`, `typeorm`, and `webpack`. Hot module replacement (HMR) ready.
- [Folder Structure](#folder-structure)
- [Production Usage](#production-usage)
- [Development](#development)
- [Add new end point](#add-new-end-point)
## Folder Structure
```
.
├── src
│ ├── main.ts
│ ├── components
│ │ └── index.tsx
│ ├── plugins
│ │ ├── ejs.plugin.ts
│ │ ├── hmr.plugin.ts
│ │ └── static.plugin.ts
│ ├── react.controller.ts
│ ├── templates
│ │ ├── hmr.html
│ │ └── react.ejs
│ └── webpack.config.ts
├── server.config.js
├── package.json
├── tsconfig.build.json
└── tsconfig.json
```
## Production Usage
```
npm install
npm run build
npm start
```
## Development
```
npm run dev
```
## Add new end point
Just make a new controller & service class. Check this example for detail: https://github.com/ynwd/fastify-di-example