https://github.com/dockleryxk/express-typescript-boilerplate
https://github.com/dockleryxk/express-typescript-boilerplate
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dockleryxk/express-typescript-boilerplate
- Owner: dockleryxk
- License: other
- Created: 2024-01-25T18:50:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T19:43:19.000Z (about 1 year ago)
- Last Synced: 2025-01-08T00:28:43.677Z (4 months ago)
- Language: TypeScript
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Express TS Boilerplate
## Introduction
This is a minimal boilerplate for messing with Express and Typescript. Both frontend and backend live reload.
Ngrok is thrown in too, in case you want to use it for some reason (e.g. testing webhooks).
## Usage
1. Install dependencies with `yarn` or `npm`.
2. Secondly, rename the `example.env` file to `.env` and fill in the desired port.
3. Run the app with one of the two following commands:
- `npm run watch` or `yarn watch` to run the app with live reload.
- `npm run build && npm start` or `yarn build && yarn start` to run the app without live reload.
4. If you want to use ngrok, run `npm run ngrok` or `yarn ngrok` in a separate terminal.