The Locked Pages is a place where you can share or view encrypted diaries.
npm install express vitest
The server should be run from the repository's root directory. It can be run with
node server/main.jsBy default, the server will listen on port 8080.
This project uses the vitest framework that we used in labs. Like in labs, testing requires an export line to be uncommented from the end of each of the following files:
server/main.jsclient/scripts/universal.jsclient/scripts/login.jsFurthermore, in both of the client scripts, the function call, also at the end of the file, which sets up the event listener, must be commented out. This is described in a comment at the end of the relevant files