UStAEnts / uems-hub

A hub project containing all microservices and frontend files for Union Event Management System (uems)
2 stars 0 forks source link

Db setup #11

Closed Lan2u closed 4 years ago

Lan2u commented 4 years ago

Sets up the backend database (mongoDB) with random event names + dates seeded.

Vitineth commented 4 years ago

Looks good, as for the fake generated event content do we want to try and decide on a basic schema now to we can populate with some useful data ready for frontend integration (ie use or modify the types in use by https://github.com/ents-crew/uems-frontend-themis/blob/master/src/types/Event.d.ts)?

Lan2u commented 4 years ago

Looks good, as for the fake generated event content do we want to try and decide on a basic schema now to we can populate with some useful data ready for frontend integration (ie use or modify the types in use by https://github.com/ents-crew/uems-frontend-themis/blob/master/src/types/Event.d.ts)?

The front end won't talk to the database directly so its more important to decide on gateway API (REST).

Lan2u commented 4 years ago

Looks good, as for the fake generated event content do we want to try and decide on a basic schema now to we can populate with some useful data ready for frontend integration (ie use or modify the types in use by https://github.com/ents-crew/uems-frontend-themis/blob/master/src/types/Event.d.ts)?

Also currently the database is populated with random event names + start and end dates (the start date is always before the end date and both are centred around the current date)