Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/e22m4u/routing-controllers-swagger-example

A simple REST API example with class-based controllers and Swagger documentation.
https://github.com/e22m4u/routing-controllers-swagger-example

api documentation express openapi rest routing-controllers swagger

Last synced: 4 days ago
JSON representation

A simple REST API example with class-based controllers and Swagger documentation.

Awesome Lists containing this project

README

        

A demo project showing how to build a REST API using
[routing-controllers](https://github.com/typestack/routing-controllers)
with integrated Swagger documentation powered by
[@e22m4u/ts-openapi](https://github.com/e22m4u/ts-openapi)

## Getting Started

1. Clone the repository:

```bash
git clone https://github.com/e22m4u/routing-controllers-swagger-example
cd routing-controllers-swagger-example
```

2. Install dependencies:

```bash
npm install
```

3. Start the server:

```bash
npm start
```

4. Access the Swagger UI documentation at
[http://localhost:3000/explorer](http://localhost:3000/explorer)

## License

This project is licensed under the MIT License.