Skip to content

feat: full index.js rewrite

Kurt Maiser requested to merge indexRewrite into main

I have fully rewritten the index.js file, and every file it connects to, and have heavily modified both the dev container and all other docker files. However, in this current build, the servers do actually work on port 10201.

It still has some issues, but they are mostly related to the fact that our inventory.js requires a database.js file that does not exist, so none of the functions will work properly.

The database server does not seem to be set up at all, and if it is then it is not properly, I think it will need some modification in the docker-compose file in order to actually mount a database file in the data folder, and may need further modification from there.

With this being our last sprint we are not going to have time to get this thing functional. The groundwork is there though, our endpoints and API are all passing validation, the issue is that they aren't going to work until the issues with inventory.js and the database overall are resolved.

I would urge anyone else working on this to check the docker file and try to get the database server figured out and to try to fix the issues involving database.js. That's at least where I'd start. Good luck to you.

Related to issue #36 (closed) (however, it became a lot more than I bargained for and took up this whole sprint)

This whole branch was done by @kmaiser with consulting help from @poleoak and @kwurst

Merge request reports