Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add events editing portal and increase API ability #270

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

CharlieCrisp
Copy link
Collaborator

@CharlieCrisp CharlieCrisp commented Jul 12, 2018

This PR:

  • Changes the schema of events to include an id that is unique and used in the url. This is based on the assumption that we currently have no events in our database and can just blitz it rather than using migrations to change the schema.
  • Adds new API routes for editing and deleting events in our database. Admin credentials are required.
  • Adds a GUI for viewing all events, adding new events, editing and deleting existing events.

(Sorry for the monolithic PR)

Screenshots:

Events portal page:

image

Add new event page:

image

Edit Event Page:

image

Delete Event Page:

image

Individual Event View Page

image

@CharlieCrisp CharlieCrisp changed the title Add events editing portal Add events editing portal and increase API ability Jul 12, 2018
let longitude : Double
let address : String?
let venue : String?
var latitude : Double
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see why these should be variables

@jaredkhan
Copy link
Contributor

eventApiControllerTests needs updating to reflect these changes.

(Sorry, I know feedback would have been more helpful before you had a full-time job!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants