Everything should work as expected and I tested almost everything manually. (There might still be bugs that I am unaware of, but nothing major/breaking (I hope))
Changes in this release:
General
Fixed all previous merge conflicts since July 20, 2022
More information in the Readme's
Easy bash scripts for setting up the app. Install all node modules in both client and server and create the PSQL database with just 1 command. See setup.sh
Back-end
Removed MongoDB database
Added PostGreSQL database
Wrote new API for interfacing with PostgreSQL
Deleted mockAPI and mockDatabase
Implemented passportJS and express user sessions which are stored in PSQL database
Cleaned up index.js and placed middlewares into their own files
Restrict logged out users to only certain API endpoints and allow access to logged in users
Better server logging with Morgan
Added rate limiter to decrease spamming on the server
A route for getting database statistics: Total number of registered users, number of entries, average entries per user, and total size of database
Front-end
Re-wrote some of the client to work with the new server API. Also includes cookie storage for user sessions
Cleaned up store.js and distributed it among 3 files. store.js, userDataSlice.js, entryDataSlice.js
Added more info on the about page, but still needs proper styling.
Replaced ChartJS with Plotly
Fixed issues and merges
This merge will close the following issues and pull requests:
Issues
Merge development branch into main for new release. Major changes
To test out this release either download the code from the development branch in this repo. or download the code from the unstable version which is equal to the development branch https://github.com/steph-koopmanschap/Mental-Health-Tracker-Unstable-Development-Version
Everything should work as expected and I tested almost everything manually. (There might still be bugs that I am unaware of, but nothing major/breaking (I hope))
Changes in this release:
General
Back-end
Front-end
Fixed issues and merges
This merge will close the following issues and pull requests: Issues
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/issues/35
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/issues/25
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/issues/15
Pull requests
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/pull/60
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/pull/59
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/pull/58
https://github.com/Nerds-Who-Code/Mental-Health-Tracker/pull/45
P.S. Do not delete the development branch. It can be re-used again in the future.