amilner42 / code-tidbit

Share Programming Knowledge Better
GNU General Public License v3.0
9 stars 1 forks source link

80 continue story #89

Closed amilner42 closed 7 years ago

amilner42 commented 7 years ago

Closes

Closes #80

Description

As described in issue, you can now add tidbits to stories. You can also also edit basic information, but you can't edit the tidbits in the story [refer to issue for reasons].

Additionally

Rearranged backend routes so that routes.ts was much simpler and called more helper functions, which I structured as a json object inside the x.model.ts with the name xDBActions. This has made DB actions much more composable.

Snapshots

image

image

image

image

image

amilner42 commented 7 years ago

Also upgraded to typescript 2.2.1. Realized my typescript was on an older version.

Looks like v2.2.3 fixes all the promise issues! Will upgrade in another issue.