https://github.com/rafaelcamargo/ruby-api
A microscopic Ruby/Sinatra API
https://github.com/rafaelcamargo/ruby-api
ruby sinatra
Last synced: about 1 year ago
JSON representation
A microscopic Ruby/Sinatra API
- Host: GitHub
- URL: https://github.com/rafaelcamargo/ruby-api
- Owner: rafaelcamargo
- Created: 2021-05-11T13:44:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-17T12:30:29.000Z (about 5 years ago)
- Last Synced: 2025-02-15T20:49:22.596Z (over 1 year ago)
- Topics: ruby, sinatra
- Language: Ruby
- Homepage: https://rubysinatralab.herokuapp.com
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby API
> A simple experiment with Ruby and Sinatra
[](https://circleci.com/gh/rafaelcamargo/ruby-api)
## Contributing
1. Install [Ruby 3.0+](https://rvm.io/)
2. Clone the repo:
``` bash
git clone git@github.com:rafaelcamargo/ruby-api.git
```
3. Go to the project directory:
``` bash
cd ruby-api
```
4. Install the project dependencies:
``` bash
bundle install
```
4. Run the API:
``` bash
ruby app.rb
```
*The API will be running on http://127.0.0.1:4567*
## Tests
Ensure that all code that you have added is covered with unit tests:
``` bash
bin/rspec
```