lofocats_ui
lofocats_ui copied to clipboard
LofoCats UI is a simple web application consuming the LofoCats API, built with Ruby on Rails :cat:
LofoCats UI :cat:
LofoCats is a simple application, consuming the LofoCats API, built with Ruby on Rails for demo purposes.
Functionality
- Guests may browse for lost & found cat entries.
- Signed in users may create, update or delete their cat entries.
- Administrators may manage the application's users & create/update/delete any cat entry.
Setting up the application
- Clone the repository.
- Execute
bundle install
to install required gems. - Edit the
config/api.yml
and update it with the URL of the LofoCats API. By default, the applications will usehttp://localhost:3001
- Execute
rails server
to start the application on the default port. - Navigate to the application's home page and there you are. For signing in, view the documentation of the LofoCats API to obtain the credentials of the user that you want to use.
Behind the scenes
- Zurb Foundation: Responsiveness & styling
- CanCan: Authorization
- RestClient: Talk with the API
- FontAwesome: Font icons used in some links