Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sammyhenningsson/beer_hookup
https://github.com/sammyhenningsson/beer_hookup
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sammyhenningsson/beer_hookup
- Owner: sammyhenningsson
- Created: 2022-11-27T23:48:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-29T21:39:06.000Z (about 2 years ago)
- Last Synced: 2024-10-27T23:44:34.840Z (2 months ago)
- Language: Ruby
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Beer hookup
This application uses the PUNK API to search beers and show info about them.
It requires Ruby version 3.1.## Installation
Clone the repository and install dependencies using the following commands
```sh
$ git clone [email protected]:sammyhenningsson/beer_hookup.git
$ cd beer_hookup
$ bundle install
$ npm install --global yarn
$ yarn build
$ yarn build:css
```It caches the beer data in a sqlite3 database. So we need to run a migration to setup the database.
```sh
$ rails db:migrate
```## Starting the application
The application is started using
```sh
$ rails server
```## Testing
To verify that everything works as intended run the test suite with:
```sh
$ rspec
```