Groove Networkig is a brand new platform pioneered by Groove Systems Productions, to allow DJs and venues to be find each other for gigs and collaborations.
Models will include at least:
- Two classes with primary keys at at least two attributes each ✅
- Artists {id, name, genres[],productions[at a certain venue], rate}
- Venues {id, name, genres[], productions[at a certain venue], rate}
- gigs
- [Optional but encouraged] One-to-many or many-to-many relationships between classes ✅
Endpoints will include at least:
- Two GET requests: ✅
- GET artists
- GET venues
- GET gigs
- One POST request ✅
- post gig ✅
- One PATCH request ✅
- edit gig
- One DELETE request ✅
- delete gig
Roles will include at least:
- Two roles with different permissions ✅
- artist
- venue manager
- Permissions specified for all endpoints ✅
- artist
- venue manager
## Tests Tests will include at least:
- One test for success behavior of each endpoint ✅
- One test for error behavior of each endpoint ✅
- At least two tests of RBAC for each role: ✅ - For Venue Manager: 1. test_gigs_post_create_success 2. test_edit_post_gigs_success - For Artist: 1. test_post_gigs_delete_success_artist 2. test_get_gigs_when_logged_in_as_artist_success
Your project should meet all rubric requirements to pass the project. The link is provided here: Project Rubric.
''' How to use There are two roles that can be used to login:
- Artist login: [email protected] - password: Artistlogin2023
- Venue manager login: [email protected] - password: Managerlogin2023 ''''''