Skip to content

Group front and back redesign of my musical career site djsacrilicious.com. Live!

Notifications You must be signed in to change notification settings

arringtonm/djsacrilicious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image of dj sacrilicious

http://arringtonm.github.io/djsacrilicious

This application is a revamped simplified version of Michael's DJing website that informs the user about Michael, dates he's already been booked for, his mixes, and permits the admin to book an event through a calendar interface. 11-9-17

By Michael Arrington, Kim Bordon, Elliot Burin, Alan Falcon

Description

The application informs the admin about Michael, the mixes he's made, and the clients who have booked him in the past. The purpose of this application is to allow potential clients to book Michael's services through a calendar interface.

Specs

Front-End: Webpage implements three different breakpoints. These operate at a width of 1000 pixels, 660 pixels, and 479 pixels.

BDD-Specs

Behavior Input Output
As casual user, can view DJ Sacrilicious's upcoming events, as well as events within the past month on main page. User goes to main page. Page displays events starting from those furthest out in a black border with details of the event.
As admin, user can add a new event with details starting time, ending time, event name, venue name, and venue address. User goes to admin specific page, and enters information form. User clicks "Add." Admin, with newly added event.
As admin, on the add page, user can select an event, and form will automatically fill with that events details. User clicks a displayed event. Form automatically fills with the clicked event's name, venue name, and venue address.
As admin, user can edit an event that already exists. User goes to admin specific edit page, and clicks one of the events. User enters new details, and clicks "EDIT." Edit page reloads, with the edited event's details included.
As admin, on the edit page, user can select an event, and form will automatically fill with that events details. User clicks a displayed event. Form automatically fills with the clicked event's name, start time, end time, venue name, and venue address.
As admin, user cannot add or edit events with start and end times that are less an than an hour long. User enters:

Starts @:
11/17/2017 11:00PM
Ends @:
11/17/2017 1:30AM

User clicks "Add" or "Edit" button.
Form shows error message:

"Date and time entry was invalid. Make sure start and end time are at least an hour apart, and end time doesn't not come before start."
As admin, user cannot add an event that overlaps existing events. User enters:

Starts @:
11/17/2017 11:00PM
Ends @:
11/18/2017 11:30PM

User clicks "Add" button.

Then, User enters:

Starts @:
11/18/2017 12:00AM
Ends @:
11/18/2017 03:00AM

User clicks "Add" button.
Form shows error message:

"Date and time entry was invalid. Make sure entry times do not conflict with exist events."
As admin, user can delete a specific event. User clicks the event, and clicks "DELETE" button. Admin edit pages refreshes without the deleted event.
Wishlist-Specs
Behavior Input Output
As admin, user has to log in as admin in order add or edit events. User enters admin username and password User goes to page to add form.
As casual user, can click on an individual event to get details, including a map and link to address on Google maps. User clicks a event. Details open a pop-up window with details.

Setup/Installation

  • Using your terminal or powershell, clone this repository by typing >git clone https://github.com/arringtonm/djsacrilicious.git

  • To look at project code, navigate to the project folder djsacrilicious, and use a text editor like Atom to open the README.md.

  • For any use of the application, make sure you have .NET Core 1.1 SDK (Software Development Kit) and .NET runtime both installed.

  • To test the application:

    • First ensure you have the proper database setup by entering starting up MySql, and entering the following commands:
    > CREATE database dj_s_test;
    > USE dj_s;
    > CREATE TABLE events (id serial PRIMARY KEY, start_time DATETIME UNIQUE KEY, end_time DATETIME UNIQUE KEY, event_name VARCHAR (255), venue_name VARCHAR (255), venue_address VARCHAR (255));
    • Using powershell or terminal, navigate to the folder named djsacrilicious. Then enter the following commands:
    >cd DJ.Solution
    >cd DJ.Tests
    >dotnet restore
    >dotnet test
    
    • You can view the tests code by using your powershell or terminal in the DJ.Tests folder, then typing >cd DJ.Tests and then > atom . to open both the tests on the Stylist and Client classes. If you don't have Atom, use whichever text editor you have available.
  • To run the application:

    • First, you must have the proper database setup by following these commands:
    > CREATE database dj_s;
    > USE dj_s;
    > CREATE TABLE events (id serial PRIMARY KEY, start_time DATETIME UNIQUE KEY, end_time DATETIME UNIQUE KEY, event_name VARCHAR (255), venue_name VARCHAR (255), venue_address VARCHAR (255));
    • Using powershell or terminal, navigate to the folder named djsacrilicious. Then enter the following commands:
    >cd DJ.Solution
    >cd DJ
    >dotnet restore
    >dotnet run
    
    • Then, on your browser, go to the URL address: localhost:5000 or, whichever server your app might be running on.
    • Use the buttons, and forms to navigate the app.
    • Once you're finished, close the browser and turn off the server by entering Ctrl + C on your powershell or terminal.

WARNING

As of 11/09/2017, this application doesn't have an actual log in. To alter information, user must enter the page through an "undisclosed" URL.

Known Bugs

none so far.

Support and contact details

Please contact Michael Arrington at djsacrilicious@gmail.com for any inquiries.

Technologies Used

SASS, CSS, HTML, GIT, C#, .NET

License

MIT

Copyright (c) 2017 Michael Arrington, Kim Bordon, Elliot Burin, Alan Falcon

About

Group front and back redesign of my musical career site djsacrilicious.com. Live!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published