Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuwanj/typescript-express-server-boilerplate
Simple Typescript Express Server
https://github.com/nuwanj/typescript-express-server-boilerplate
boilerplate typescript
Last synced: 25 days ago
JSON representation
Simple Typescript Express Server
- Host: GitHub
- URL: https://github.com/nuwanj/typescript-express-server-boilerplate
- Owner: NuwanJ
- License: mit
- Created: 2023-11-22T16:36:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T08:58:06.000Z (about 1 year ago)
- Last Synced: 2023-11-27T05:21:05.609Z (about 1 year ago)
- Topics: boilerplate, typescript
- Language: TypeScript
- Homepage:
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Node CI](https://github.com/NuwanJ/typescript-express-server-boilerplate/actions/workflows/node_ci.yaml/badge.svg)](https://github.com/NuwanJ/typescript-express-server-boilerplate/actions/workflows/node_ci.yaml)
This is a simple TypeScript Express Boilerplate Template
## Setup Guide
1. Install Node dependencies
```bash
npm install
```2. Create a `.env` file in the root of the project and fill the details as in the sample, `.env.sample` file.
## Useful Commands
##### Format Codes
```bash
npm run format
```##### Run development server
```bash
npm run dev
```##### Run Unit Testings
```bash
npm run test
```##### Build and run the production server
```bash
npm run build
npm run start
```