Code Monkey home page Code Monkey logo

library-system's Introduction

silverspoon

silverspoon is for the developers who wants to start Rails5 app. With the very basic requirements likes devise, admin panel, bootstrap4 and many more. It provides the basic integration of gems which is essential to starts the development of an application. like:- Devise authentication, Bootstrap4, active admin, exception notifier, letter opener, meta request, invite the users from admin panel.

In this application i implement the STI for the app users. Patron is my parent model with common devise modules.

  • Admin: As name suggest admin controls the application, rather creating the users from admin panel sends the invitations to join the app.
  • User: application users with invitable, registerable and confirmable devise modules.

This Rails 5 (5.0.0.1) app integrated:

  • Devise - for authentication.

  • Active Admin - for controlling the content of site through admin panel.

  • Devise invitable - for inviting the user from the admin panel to join the application.

  • Bootstrap4 - for look and feel of application with glyphicons.

  • letter opener - for view the content of email in the browser itself.

  • exception_notification - for sending the exception email to recipients in production mode.

  • Flash messages display.

  • meta_request- for development (for google chrome rails panel)

  • .gitignore for rails app.

Development environment:

  • Ruby version (2.3.0).

  • Rails 5 (5.0.0.1).

  • Mysql (you can change it :) )

Setup

  1. Do git checkout followed by git archive by
$ git archive master | tar -x -C /somewhere/else
  1. cd into that directory.
  2. I am using mysql database for development. if you are using any other update your Gemfile for corresponding database adapter.
  3. Update database configurations in database.yml.
bundle install
rails db:create db:migrate db:seed
rails s

Admin Panel admin panel

normal application default

Live Demo

  1. For Users Heroku.

  2. For Admins HerokuAdminUrl

Credentials to login as admin

Email: [email protected]
Password: Welcome@123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.