DJRyLau / CITS3403-Project

CITS3403 Agile Web Development Group Project
4 stars 1 forks source link

Implement beginning point for server and database creation #21

Closed Ciaranengelbrecht closed 5 months ago

Ciaranengelbrecht commented 5 months ago

Have restructured the repo, introduced Flask, SQLAlchemy to enable user authentication, so far seems to be working relatively well with mild testing of account creation, must install the requirements.txt file and also setup a secret key .env file on your local system (currently is literally just set to: 'SECRET_KEY=maythe4thbewithyou' in the .env file at the root of the repo). User is able to create account or sign in if the account has previously been created and redirects to main page. Still yet to implement WTForms, I attempted it but this broke a few things and the login window was no longer popping up. Yet to fully implement logging out functionality, will need to add the html/css for this on the notes.html page. Still working on this so won't be merging until working better according to the project specs and everyone is happy with it.

Ciaranengelbrecht commented 5 months ago

Thanks for the suggestion I have now removed the scrollable area when the authentication windows open. I have also implemented the logout functionality so users will be redirected to the auth page when not currently in an active and authenticated session

Ciaranengelbrecht commented 5 months ago

Screenshots of current landing page with full functionality

Screenshot 2024-05-09 at 12 57 48 PM Screenshot 2024-05-09 at 12 57 09 PM Screenshot 2024-05-09 at 12 57 22 PM