- Add versioning to API endpoints. - Refactored $db and $repos as global variables. - Extracted routes into separate components with deferred registration. - Support for a different db URL for location data than the one used by the application. - Added sqlite and passport dependencies (passport will soon be used to handle authentication).
This commit is contained in:
parent
f349b2c5be
commit
533ebe960f
26 changed files with 1853 additions and 146 deletions
src
3
src/types.ts
Normal file
3
src/types.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
type Optional<T> = T | null | undefined;
|
||||
|
||||
export { Optional };
|
Loading…
Add table
Add a link
Reference in a new issue