Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andyrichardson/simple-rest
Example of simple rest endpoint with codegen doing the bulk of the work
https://github.com/andyrichardson/simple-rest
Last synced: 16 days ago
JSON representation
Example of simple rest endpoint with codegen doing the bulk of the work
- Host: GitHub
- URL: https://github.com/andyrichardson/simple-rest
- Owner: andyrichardson
- Created: 2021-07-22T13:07:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T13:08:18.000Z (over 3 years ago)
- Last Synced: 2024-12-06T21:23:26.956Z (28 days ago)
- Language: TypeScript
- Size: 218 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
A basic example of a REST endpoint with:
- Static type safety
- Automatic schema construction
- Automatic interactive UI for development
- Automatic input arg validation
- Baked in auth## Usage
Install dependencies
```
npm ci
```Start development server
```
yarn start
```Navigate to OpenAPI spec to authenticate, make requests, etc
[`http://localhost:3000/`](http://localhost:3000/).