hack4impact-calpoly / general-vms

General volunteer management system.
2 stars 0 forks source link

WIP database AND routing abstraction #39

Closed J3T4R0 closed 2 years ago

J3T4R0 commented 2 years ago

I am just opening a pull request just to provide more information on the rather huge commit.

First off, a new common directory has been created (which has zero dependencies), for a few reasons: Both frontend and backend plan to access standard types from the common directory The common directory contains the auth directory, a basic implementation of how the backend can be modeled with the new routing.

Speaking of routing, I decided to go with koa instead of express, just for prototyping purposes. I did this because I wanted the backend to only handle middleware and database handling. The key advantage is that now we can model the database actions from the frontend in the case we want to do testing.

Additionally, while the backend demo works, it's not really much without a proper frontend example to go with it. I will be working on that next, as well as fixing all the linting

bglossner commented 2 years ago

Marking as closed for now.