Skip to content

cen3031-5a/trainerScheduling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,813 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trainer Scheduling

Website https://trainer-schedule-allegiance.herokuapp.com

Our Project Known working Versions

  • NPM Version 5.3.0

  • Node Version 6.11.2

  • Bower Version 1.8.2

  • Angular version 2.7.2

  • use "npm install" command followed by "bower install"

  • After this use "grunt" command to run locally

Credits/APIs used

  • Fullcalendar.io , version 3.7.0
  • Jquery
  • Moment.js
  • Bootstrap CSS

Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

$ npm install -g bower
  • Grunt - You're going to use the Grunt Task Runner to automate your development process. Make sure you've installed Node.js and npm first, then install grunt globally using npm:
$ npm install -g grunt-cli
  • Sass - You're going to use Sass to compile CSS during your grunt task. Make sure you have ruby installed, and then install Sass using gem install:
$ gem install sass
$ npm install -g grunt-cli
  • Gulp - (Optional) You may use Gulp for Live Reload, Linting, and SASS or LESS.
$ npm install gulp -g

Downloading MEAN.JS

There are several ways you can get the MEAN.JS boilerplate:

Cloning The GitHub Repository

The recommended way to get MEAN.js is to use git to directly clone the MEAN.JS repository:

$ git clone https://github.com/meanjs/mean.git meanjs

This will clone the latest version of the MEAN.JS repository to a meanjs folder.

Database and Server Connections

mLab

mLab is a MongoDB database used for this web application to connect to the database.

mongodb://<dbuser>:<dbpassword>@ds033196.mlab.com:33196/allegiance

Heroku

Heroku is the web server hosting provider

Features Implemented

Admin/Staff Roles

Only staff members at Allegiance Athletics can have an account on this trainer scheduling web application and these accounts are created by the client and others who have the admin role. These assigned roles give the user privileges to access certain pages on the web application and will deny the staff from seeing admin-only pages. Admin has access to every page and privileges to add, edit, and delete content.

Announcements

The Announcements view on the homepage allows for the user to see updates that the admin posted. Users with the staff role cannot create a new announcement, however, the admin can create, edit and delete announcements that are created. The buttons for these abilities will only show up in the admin view, so the staff cannot go to these pages.

Admin Homepage Announcements

Create New Announcement Announcements Create

Availabilities

The user with the staff role will be able to add/update their availability for the week by using a click, draggable calendar that saves the availability for the admin to see. Staffs can only see their own calendar, however, the admin has the ability to view all the staff’s availability on one calendar and even toggle what they want to view on their availability calendar. The admin role can select buttons to see one particular staff availability or see all at the same time.

Availabilities

Blog View

Users can see the list of blogs, in which, entries can be created by all users by using the Create New Blog button to access the form. There is a search bar that the users can use to search for keywords in any of the entries. Entries can be edited/deleted by the user who created the entry or by the admin who has access to modify any entry. Blog

Create New Blog Entry Blog Create

Blog Entry View Blog Entry

Calendar View

The calendar view shows the staff’s schedule with events indicating the class, start time and end time assigned by the admin. The list on the right of the calendar shows upcoming events in the next seven days and users can use the search bar to look for specific keywords to filter out what they are looking for. Users can view all events by going to the events list page where they can use the search bar to filter through the events. Only admin can access the form to create a new class that will add events onto the calendar view that the staff can see. Calendar

Creat New Class Calendar Create

Calendar List of Events Calendar Events

Users

Only admin can access the pages to view all users and create new users. Managing users shows a list of all the users when a particular is selected, the admin can see about all the information on that user. These users can be edited or deleted by the admin.

Manage Users Users

Create New User Users

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages