https://github.com/bogdaaamn/deta-typescript-express-starter
Starter template for a Deta project using Node, Express and Typescript.
https://github.com/bogdaaamn/deta-typescript-express-starter
deta express nodejs typescript
Last synced: 3 months ago
JSON representation
Starter template for a Deta project using Node, Express and Typescript.
- Host: GitHub
- URL: https://github.com/bogdaaamn/deta-typescript-express-starter
- Owner: bogdaaamn
- License: mit
- Created: 2022-09-09T00:38:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T00:40:56.000Z (about 3 years ago)
- Last Synced: 2025-04-26T02:48:39.515Z (5 months ago)
- Topics: deta, express, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Deta Typescript Express Starer
This is a starter template for a Deta project using Node, Express and Typescript.
## Uses
- Node 14.x (as Deta Micros use Node 14.x)
- Express 4.18.1
- Typescript 4.8.3## Structure
- `src/`: the typescript source files
- `dist/`: the compiled js files
- `index.js`: imports the compiled `index.js` and exports the app for Deta## Development
Install dependencies.
```
yarn
```Run `ts-node src/index.ts` and watch all the typescript files inside `src/`.
```
yarn dev
```## Deployment
Compile the source files. Deploy `index.js` pointing at `dist/index.js` and the other compiled files in `dist/`
```
yarn deploy
```