The goal of this project is to develop an application that simulates responses to disasters in Dublin city. The application uses a map to show traffic information in real time (i.e., cars and buses moving around the city) based on actual Dublin city data sources such as bus and traffic information. A disaster can be reported at any location of the city, and the response should re-route traffic to avoid roads blocked by the disaster; send emergency vehicles such as ambulances to help affected people; and plan evacuation routes that people must follow to be safe, including (but not restricted to) deployment of additional means of transport – e.g., buses – where possible. Disasters can emerge as a result of natural phenomena such as a river flooding, or human activities such as a fire in a stadium at the time of a concert.
College ID | Surname | First Name | Github Handle |
---|---|---|---|
20303676 | Mudigonda | Sai Kaushik | msaikaushik, faheimarslan |
20301672 | Borole | Bhushan | bhushan-borole |
20305836 | Kraus | Oliver | OvrK-tcd |
20335040 | Singh | Rajpal | Rajpal02 |
21334470 | Sharma | Ritika | ritika24-s |
19303325 | Uniyal | Shubham | shubham93 |
20302472 | Arslan | Tolga | arslant-tcd |
21330894 | Shukla | Yash | yashshukla025 |
create your development cluster on mongodb atlas and add the db uri under config/keys.js (devMongoURI) before proceeding.
Install React and Redux Extensions on your browsers.
The UI can be found under the Client folder.
Mongoose Models go under the models folder.
Node endpoints go under the routes folder.
npm run server, to run just the development server.
npm run client, to run just the client.
npm run dev, to run both the client and the server concurrently on dev.
npm run prod, to run both the client and the server concurrently on dev.
If there is a port conflict, config the port in server.js.
email: [email protected]
password: trinityase6
To run Integration tests using cypress,
TODO: Disable redux dev tools extension in store.js before running integration tests. you might encounter b is undefined error, if this is enabled. cd into client, run npx cypress open