david-fisher / 320-F20-Track-IV

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Add stubs for dashboard and for adding/updating simulation #49

Closed hoon0422 closed 4 years ago

hoon0422 commented 4 years ago

Add stubs for dashboard and for adding/updating simulation

  1. Add stubs for dashboard in server/route/dashboard.js as a router which deals with requests starting with /dashboard.

  2. Add stubs for adding/updating simulation in server/route/simulation.js as a router which deals with requests starting with /simulation.

Since the documentation for endpoints in google docs and in Postman (which @TsarFox created) does not match, I just picked what seems to make sense in the context of functionality of each endpoint. So my code does not fully match the documentation in google docs, nor in Postman. Therefore, before merging my request, I think we need to figure out this problem of the documentation and edit and write more concrete documentation. We can talk about it here in this pull-request.

aj8uppal commented 4 years ago

Great stuff young! Just checked it out, looks good. Will check in with @alisakotliarova and @TsarFox about the schema comment.