Skip to content

LofoCats UI is a simple web application consuming the LofoCats API, built with Ruby on Rails 🐱

License

Notifications You must be signed in to change notification settings

iridakos/lofocats_ui

Repository files navigation

LofoCats UI 🐱

LofoCats is a simple application, consuming the LofoCats API, built with Ruby on Rails for demo purposes.

Cat entries index

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 use http://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

Screenshots

Administrator Home Page

Administrator home page


Guest Home Page

Guest home page


User Administration

User administration


Cat Entry Form

Cat entry form


Cat Entry Show Page

Cat entry show page


Sign In Page

Sign in page


Cat Entry Show Page for Mobiles

Cat entry show page for mobiles


Sign in Page for Mobiles

Sign in page for mobiles

About

LofoCats UI is a simple web application consuming the LofoCats API, built with Ruby on Rails 🐱

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published