Skip to content
Snippets Groups Projects
Kacper Polczynski's avatar
1419f356

Student Number: 21070120 Openshift url: https://web-assignment.apps.containers.cs.cf.ac.uk/ This is my web development project Ive included three references to code snippets i have used and included them in my code to show when they were used.

Code adapted from: https://openjavascript.info/2022/06/08/how-to-upload-a-file-using-the-fetch-api/ Accessed on 12/12/2024 This code allowed me to upload a photo file to the server which and then enabled me to upload these to my database alongside projects as well as uploading them with an ajax respone

Code snippets from:https://www.geeksforgeeks.org/how-to-add-authentication-to-your-app-with-flask-login/ accessed on 22nd decemeber Used basic login and register feature to add authentication to the app I used this in order to create additional functionality in the website such as user commenting an admin user that can delete and add projects

code snippet from: https://www.w3schools.com/howto/howto_css_modals.asp Accessed on 12/12/2024 gave me the base css and htnl for a modal pop up This was then used to create a detailed from which uploads data to database for projects to be displayed