Corgam / SS23_ADSP_TCF

An official repository for the "Tangible Climate Futures" project from the ADSP (SS23) course at TU Berlin.
1 stars 2 forks source link

Implemented MongoDB database with all CRUD operations - Closes #8 #29

Closed Corgam closed 1 year ago

Corgam commented 1 year ago

A new MongoDB container should be started when using docker-compose. The Express server connects to it initially and listens for the CRUD requests. The API for the HTTP requests is written in a table in the README file. Finally, a simple "Basic Data File" schema was created for the database to support types of files. DB Schema allows the files to contain only the field specified in the schema. More schemas should be added in the future.

guttenberger commented 1 year ago

looks good for me

Fr3574 commented 1 year ago

What do you think of replacing all these console.log with a dedicated logger? @guttenberger @Corgam

guttenberger commented 1 year ago

i am currently implementing morgan