Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anechas/express-ts-sequelize-template


https://github.com/anechas/express-ts-sequelize-template

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Express.js REST API template with TypeScript and Sequelize

Structure is module pattern.

## Installation

```bash
$ npm install
```

After starting the server, you can visit http://localhost:3000 in your browser

## Building

```bash
$ npm run build
```

## Running

```bash
$ npm start
```

## Development

```bash
$ npm run dev
```

## Testing

```bash
$ npm test
```

## Update version

```bash
$ npm run release
```

## Commit

```bash
$ npm run commit
```

## Using Docker

```bash
$ docker build -t my-app .
$ docker run --name my-app-example --env-file ./.env -p 3000:3000 -d my-app
```

## Configuration

Create a `.env` file and configure your settings by referring to the `.env.example` file.

## Locally

```bash
$ npm i
$ npm run build && npm start
```