FrontEnd uses React
Known issues:
- Need to make it work for event search
- Need to re-direct
Fixed issues:
- ADD/EDIT EVENT startDate/endDate min and validators - fixed with moment
- Need to support dynamic clubid when club login and direct to /:cid/events/ => using history
NavLink “/“ Main Page “/users/auth” Driver Login “/clubs/auth” Club Login
isClubLoggedIn “/events/club/:cid” Club Events “/clubs/events/new” Add Event “/users/auth” Driver Login “/clubs/auth” Club Login
Front end: “/“ “/events” “/events/:id” “/events/club/:clubId” “/clubs/auth” “/users/auth” “/error”
isClubLoggedIn: “/“ “/events/club/:clubId” “/events/:id” “/clubs/events/new” “/events/update/:id” “/error”
Back end: /api/events GET '/' eventsController.getAllEvents '/date/' eventsController.getEventsByDate '/:eid' eventsController.getEventById '/club/:cid' eventsController.getEventsByClubId
/api/clubs GET '/' clubsController.getAllClubs '/:cid' clubsController.getClubById POST '/signup' clubsController.createClub '/login' clubsController.loginClub PATCH '/:cid' clubsController.updateClub DELETE '/:cid' clubsController.deleteClub
/api/users
FrontEnd
http request => => link to =>
http request => => link to =>
http request =>
xxxxx Need to make it work for event search