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

https://github.com/c-ehrlich/otel-express


https://github.com/c-ehrlich/otel-express

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

          

# Express v5 TypeScript Starter

A simple Express v5 starter project with TypeScript, Prettier, and ESLint.

## Features

- Express v5
- TypeScript
- Prettier for code formatting
- ESLint for code linting
- One GET route that takes a name parameter: `/hello/:name`

## Installation

```bash
npm install
```

## Development

```bash
npm run dev
```

## Build

```bash
npm run build
```

## Run

```bash
npm start
```

## Linting

```bash
npm run lint
npm run lint:fix
```

## Formatting

```bash
npm run format
npm run format:check
```

## API

- `GET /hello/:name` - Returns "Hello {name}"

Example: `GET /hello/world` returns "Hello world"