Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/remarkablemark/express-api-template

Express API template
https://github.com/remarkablemark/express-api-template

api express nodejs template typescript yarn

Last synced: 12 days ago
JSON representation

Express API template

Awesome Lists containing this project

README

        

# express-api-template

[![build](https://github.com/remarkablemark/express-api-template/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablemark/express-api-template/actions/workflows/build.yml)

Express API template.

## Prerequisites

- [Node.js](https://nodejs.org/)
- [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)

## Install

```sh
git clone https://github.com/remarkablemark/express-api-template.git
cd express-api-template
```

Install the dependencies:

```sh
npm install
```

## Environment Variables

Copy and update the environment variables:

```sh
cp .env.example .env
```

## Available Scripts

In the project directory, you can run:

### `npm run dev`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The server will reload if you make edits.

You will also see any errors in the console.

### `npm start`

Runs the app in the production mode.

### `npm test`

Launches the test runner in the interactive watch mode.

### `npm run lint`

Lints the files.

### `npm run build`

Builds the app for production to the `build` folder.

## License

[MIT](LICENSE)