Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunks/spoon-test
https://github.com/lunks/spoon-test
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lunks/spoon-test
- Owner: lunks
- Created: 2020-08-30T23:31:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T23:39:47.000Z (over 4 years ago)
- Last Synced: 2024-10-28T21:49:18.800Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Awesome recipes
This is a simple Sinatra app to grab a list of recipes from Contentful.
You need to set two environment variables used to access the Contentful API:
* `CONTENTFUL_SPACE_ID`: Space where recipes are stored
* `CONTENTFUL_ACCESS_TOKEN`: Access token to access the APITo get the app running all you have to do is:
```console
$ bundle install
$ bundle exec rackup config.ru
```Tests can be run with rspec:
```console
$ bundle exec rspec spec
```This app can also be accessed live on https://spoon-test-recipes.herokuapp.com/
That's it!