A ruby on rails website for members of UMass EMS with accounts. No longer in development.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
readme_images
test
tmp
vendor/assets
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
content.csv

README.md

UMass EMS Rails App

Description

This was made to be a website with accounts for UMass EMS. It would allow users to log in and be assigned shifts. It would also allow directors to perform their duties like approving certificates and reading join applications. Unfortunately it never went into full production due to hosting costs. Instead an Angular App without accounts is now used, also developed by me. The current site is www.umass.edu/ems and the repository is here. This is my first webapp and is not 100% complete because it never went into full production. Particularly the aesthetic is not in its final stage. Please visit www.umass.edu/ems, which has a more complete and polished aesthetic, to get a feel for how this web app would look in full production.

The original repository had many more commits but some contained sensitive information so I started a new repository to display the code.

Usage

If you wanted to build this you would need to set up a PostgreSQL database and fill in the information in config/secrets.yml and config/database.yml. You would also need to migrate and seed the database with a master user as per the schema.

Features

Accounts

User sessions. Flash message upon login failure. Passwords salted with bcrypt.

login

rejected

account page

User Roles

A master user can see every option.

master

The director of operations can see options related to shift creation.

director of operations

A regular user just sees the basic user options.

normal user

Mobile Design

Not responsive design since it detects mobile browsers and uses different html and stylesheets. Uses a mobile menu on mobile that can be swiped out.

mobie homepage

mobie menu

File Upload

Users can upload files and access those files.

Upload a profile picture on the homepage.

user page

Privileged users can access uploaded certificates.

cert approval

Seamless Text Changes

Users can update fields with text areas dynamically appearing and disappearing for instant editing. All handled via AJAX so no need for page refresh.

seamless before

seamless after

Date Picker

date picker

Form Autofill

Every previous entry becomes an autofill suggestion. Suggestions narrowed down while user types.

autofill

Custom Forms and Data Display

Applicants fill out a custom join form.

form

Administrators can view form responses in a concise way customized to the data.

join app

Open for more data.

join app open

And approve immediately by clicking the checkmark.

join app open green

Administrators can view and approve uploaded certificates like driver's licenses in the same way.

cert rejected

cert approved