Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romiras/sinatra-stub
Skeleton for Sinatra API stubs
https://github.com/romiras/sinatra-stub
api-server demo docker ruby sinatra-framework stub
Last synced: 20 days ago
JSON representation
Skeleton for Sinatra API stubs
- Host: GitHub
- URL: https://github.com/romiras/sinatra-stub
- Owner: romiras
- Created: 2019-08-07T05:36:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T10:05:43.000Z (almost 2 years ago)
- Last Synced: 2023-03-23T01:22:19.535Z (almost 2 years ago)
- Topics: api-server, demo, docker, ruby, sinatra-framework, stub
- Language: Ruby
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sinatra-stub
Skeleton for Sinatra API stubs## Requirements
Ruby >= 2.3
## How to install
```
bundle install
```## How to run server
```
bundle exec puma -C config/puma.rb
```## Docker
### Building container
```
docker build -t sinatra-stub .
```### Run server
```
docker run -p 3000:3000 --rm -it sinatra-stub
```