The Emvents application will have two types of users or personas: attendees (people signing up to events) and organizers (people organizing events). We will differentiate the two different roles and implement some authorization rules.
- Familiarize yourself with ACL: Learn how access control lists (ACL) can help you implement authorization in your application and how to use the Node ACL Node library in your project. https://github.com/optimalbits/node_acl
-
Only the user who has created the event should be able to update or delete an event.
-
You should implement an endpoint that returns all the events organized (created) by a given user.
-
You should implement an endpoint that allows a user to sign up to (RSVP) an event.
-
You should implement an endpoint that returns all the upcoming events a user has signed up for.
-
You should implement an endpoint that allows the organizer of an event to see all the users who signed up to a given event he is organizing.
NOTE: Do you want to become a remote software developer? Join our online training program where students from all around the world learn together doing remote pair programming, all while working on open source and freelance projects.