Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```