1.0.1 • Published 3 years ago

ice-midway-template v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Getting Started

Docs:Midway Hooks - Getting Started

Directory Structure

.
├── bootstrap.js //
├── jest.config.js // Unit test file
├── midway.config.ts // config file for setup directory and middleware
├── src
│   ├── apis // Backend directory
│   │   ├── configuration.ts // Midway Hooks configuration
│   │   └── lambda // Api directory(Can be modified in midway.config.ts)
│   │       ├── index.test.ts // Api test file
│   │       └── index.ts // Api file
│   └── main.ts // Frontend framework file
├── tsconfig.json
└── vite.config.ts

Commands

Start Dev Server

$ npm start

Build

$ npm run build

Deploy to serverless

$ npm run deploy