npm install
npm run dev
events from db
localhost:3000/events
events from galvanize.com scraper
localhost:3000/events/add
localhost:3000/maps
/events method:POST
(expects an object without id)
/events/:id method:GET
/events/:id method:PUT
(expects an object with id)
/events/:id method:DELETE
/rooms method:POST
(expects an object without id)
/rooms/:id method:GET
/rooms/:id method:PUT
(expects an object with id)
/rooms/:id method:DELETE
create express api endpoint
- build scraper
- scrape events data
- create api end point
- return events data as json
- deploy
- discuss /maps response structure so we can build the db to reflect this structure.
- create db gevents
- create events migration and test seed(so we start with data in the db),
- create rooms migration and seed.
- create CRUD routes and queries for /events and /rooms.
- change events route to /events
- sync the scraped data
- build maps component and link to /maps route
- build map with image component
- build floors component (LL, L3, L4 selectors)
- build rooms component (dropdown list) * logic: will change the image to selected floor or room.