Skip to content

Repository files navigation

Programming Project

Intro en voorstelling team

Welkom op onze repository voor Programming Project 1, deze opdracht werd ons gegeven door onze profs op de ErasmusHogeschool Brussel.

Ons team bestaat uit een Scrum Master Nils Kelecom en 4 developers: Gust Berchmans, Jente Tavernier, Lucas Huygen en Samia Almtlek

Voorstelling probleem en oplossing

De huidige status van het uitleensysteem van het MediaLab is zeer arbeidsintensief waardoor het niet efficiënt verloopt. Er werd ons aan ons gevraagd om de uitleningsdienst te stroomlijnen

Voor de oplossing zijn we begonnen met fase 1: oplijsten van de user stories die nodig zijn voor dit project
Hierna zijn we begonnen met fase 2: het prototype maken. Hiervoor hebben we Figma gebruikt om een design te maken voor onze applicatie. Dan zijn we begonnen aan fase 3: de development fase. In deze fase hebben we gebruik gemaakt van Trello om hierin alle user stories te plaatsen die we in fase 1 hebben genoteerd. Voor elke userstorie hebben we een checklist gemaakt van alle functionaliteit die het nodig heeft om hem af te ronden. We zijn dan iteratief in sprints gaan werken waardoor we op een constante snelheid user stories konden voltooien.

De oplossing

Wij hebben voor dit project gebruik gemaakt van PHP in combinatie met Javascript en wij gebruiken een MySQL database.

Om deze oplossing te runnen hebben wij een stappenplan gemaakt om het makkelijk te maken:
STAP 1: Download XAMPP.
STAP 2: Download de repository.
STAP 3: Zet de gedownloade repository map in de HTDOCS map van XAMPP.
STAP 4: Open XAMPP en run the apache server.
STAP 5: Start een secure connection met de school server dankszij een VPN.
STAP 6: Open het project in een IDE bevoorbeeld "Visual studio code".
STAP 7: Maak een .env file aan in de root van het project.
STAP 8: Vul deze variabelen dan met de nodige gegevens in. (Staan in Teams Groep 2 Finale bestanden/.env_credentials.txt, de SMTP-gegevens voor de mail kun met je eigen server invullen)

DB_HOST=
DB_USERNAME=
DB_PASSWORD=
DB_DATABASE=
SMTP_USERNAME= %% eigen SMTP server credentails %%
SMTP_PASSWORD= %% eigen SMTP server credentails %%

STAP 9: ga naar u browser en type dit in http://127.0.0.1/ProgrammingProject1/php/.

In onze oplossing kan een student een product of een kit reserveren. Voordat de student het product heeft afgehaald kan hij dit product nog annuleren. Op de dag van de uitlening gaat de user naar het MediaLab, hier ziet de medewerker heb het admindashboard welk product de student nodig heeft. Wanneer de student op de terugbrengdatum het product wilt terugbrengen kan de admin deze via het productnummer of de email van de student het product accepteren.


Onze oplossing bevat ook nog funtionaliteiten zoals blacklist, te laat, product of kit toevoegen/wijzigen/verwijderen/onzichtbaar maken, statistieken, defecten en uitleningen bekijken.

Bronnen

https://github.com/Ileriayo/markdown-badges

Gebruikt gemaakt van:

MySQL Figma Bootstrap Visual Studio Code IntelliJ IDEA CSS3 HTML5 JavaScript PHP Apache

Datepicker: https://retype.com/?from=datepicker.com
Sweetalert: https://sweetalert.js.org/guides/
Bootstrap: https://getbootstrap.com/
vlucas/PHP dotenv: https://github.com/vlucas/phpdotenv?tab=readme-ov-file
Symfony Mailer: https://symfony.com/doc/current/mailer.html
Formsubmit: https://formsubmit.co/
ChromePhp: https://github.com/ccampbell/chromephp

ChatGPT Stack Overflow YouTube W3schools Bootstrap

Gust:

Github Copilot
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
https://chat.openai.com/share/7bf0bb43-e63d-4799-be61-42fc6aa0cf1f
https://chat.openai.com/share/c7cb2562-9d44-47f3-84b2-6a55218c64e2
https://chat.openai.com/share/db0e0f7d-ced5-44fe-84aa-fe79c74bf841
https://chat.openai.com/share/9dfe55e3-a53b-4e3c-bace-ab404423b079
https://chat.openai.com/share/7f825f3a-dc1b-4061-9423-aa1b267a58ff
https://chat.openai.com/share/579e38f8-ff2c-4f9f-bd89-1df5bc4ecfcf
https://chat.openai.com/share/293b9a39-e9c5-43ab-b852-fbb57a77aaad
https://chat.openai.com/share/d278f4d4-3f93-4d91-a179-b2cadf328e2e
https://chat.openai.com/share/1a68d947-d2ad-4278-b501-fd6e0d8f6510
https://chat.openai.com/share/546eed2a-835f-4b36-89e5-0bd1aa8bb4f7
https://chat.openai.com/c/aedb86a1-1bed-40f8-b5b5-dfdfcd884d38
https://chat.openai.com/c/3f9ded50-4bd0-4b5f-bedf-b7c09eb6e190
https://chat.openai.com/share/6ce756d9-5aa7-418f-adf7-b7e4316f9fa1
https://chat.openai.com/share/db62ad30-ddfb-47e7-9c3b-e8bcbe838b27
https://chat.openai.com/share/1852ada8-a052-440a-ae49-d5dc6b9d5e85
https://chat.openai.com/share/6bf0c5b6-168a-4f5b-9fb4-36d4ca43a080
https://chat.openai.com/share/bfdba506-60bb-484a-8137-ef663cdb0a34
https://chat.openai.com/share/698d145f-6b02-4e58-ae05-6cb93e97515f
https://chat.openai.com/share/1dc9c681-6b1d-4b49-977f-f2931e011df7
https://chat.openai.com/share/1dc9c681-6b1d-4b49-977f-f2931e011df7
https://chat.openai.com/share/9b6c691f-0a82-466d-b280-265cf4b1e5bf
https://stackoverflow.com/questions/74937545/uncaught-syntaxerror-unexpected-token-br-when-using-json-parse-on-the
https://chat.openai.com/share/3ea7f502-26e1-479c-935f-fd81399840c4
https://chat.openai.com/share/06ef04eb-6224-430e-9c58-a404dd031a4b
https://chatgpt.com/share/03b19128-17e3-4704-8a02-d24cdaf89495
https://chatgpt.com/share/41046d29-1338-443f-8cc4-21d9380f32de
https://chatgpt.com/share/d830216c-c669-4158-902b-85e4ce5474aa
https://chatgpt.com/share/dc3da249-ea1b-4651-a5d6-97e2894e1e82
https://chatgpt.com/share/9a0ae7e0-bd61-44c8-ab3b-47be3bb7af1f
https://chatgpt.com/share/154f2e8a-235e-4671-84a5-c2258c30aac9
https://chatgpt.com/share/007b4704-8728-4b75-8994-347c5556b340
https://chatgpt.com/share/45b03094-d36b-41c4-bcef-7eba9140953f
https://chatgpt.com/share/28c0252f-b9c4-4a46-ad00-f481a1dfaef0

Jente:

Github Copilot
https://chat.openai.com/share/7e954263-4c5a-4ba2-ba28-d7a74d6596b5
https://chat.openai.com/share/7be44488-de03-4696-b952-572112f61830
https://chat.openai.com/share/9245eb0f-a77c-4b2c-ab2f-e473c40b1697
https://chat.openai.com/share/264d87bc-1172-4a2a-8c63-f83645e1fe15
https://chat.openai.com/share/0b8974ba-9043-46e3-959e-5e4ae1e98783
https://chat.openai.com/share/3182c4a7-bb51-4ea3-8e65-e852b406903d
https://chat.openai.com/share/ab47f1b1-63b2-4b3a-a746-f6233b6e26e2
https://chat.openai.com/share/258cc254-9fc3-429a-8924-fc2017845a88
https://chat.openai.com/share/a46a1d14-e9b1-4327-af4a-a4c76b043239
https://chat.openai.com/share/e9504910-7d1e-4b92-b1bd-3ae478722f70
https://chat.openai.com/share/ccb79adb-dbec-4741-b928-af3857773999
https://chat.openai.com/share/d75f4f04-354f-4fec-87db-10dd16c74b06
https://chat.openai.com/share/177a52d4-9228-44f0-b2c3-47206c333ad9
https://chat.openai.com/share/38f169be-05d0-4d2a-aa42-e738f5ce4084
https://www.linkedin.com/learning/php-with-mysql-essential-training-1-the-basics/php-with-mysql-essential-training-the-basics?u=121303466
https://stackoverflow.com/questions/41391862/how-to-access-php-session-variable-in-javascript
https://stackoverflow.com/questions/23740548/how-do-i-pass-variables-and-data-from-php-to-javascript
https://dev.to/enygma/keeping-credentials-secure-in-php-1mgo
https://www.w3schools.com/howto/howto_js_scroll_to_top.asp
https://symfony.com/doc/current/mailer.html
https://mailtrap.io/blog/php-email-sending/#How-to-send-emails-using-Symfony-Mailer
https://www.w3schools.com/sql/func_mysql_concat.asp
https://dev.mysql.com/doc/refman/8.0/en/union.html
https://stackoverflow.com/questions/9436534/ajax-tutorial-for-post-and-get
https://www.w3schools.com/jquery/ajax_ajax.asp
https://stackoverflow.com/questions/66676519/retain-preserve-selected-date-of-jquery-daterangepicker-after-button-clicked

Lucas:

https://chat.openai.com/share/8e8c51f8-d417-48ab-bab4-abe07de601da
https://www.youtube.com/watch?v=SgynWhEgvlw](https://www.youtube.com/watch?v=SgynWhEgvlw
https://stackoverflow.com/questions/24739126/scroll-to-a-specific-element-using-html
https://www.youtube.com/watch?v=v-y3B91Fhiw
https://chat.openai.com/share/f48b379f-73c4-4449-9596-b3476a4d8bf3
https://stackoverflow.com/questions/46743882/pass-result-of-sql-query-from-php-to-javascript-array
https://stackoverflow.com/questions/4413590/javascript-get-array-of-dates-between-2-dates
https://stackoverflow.com/questions/23838850/check-all-variables-in-an-array-for-an-if-condition
https://stackoverflow.com/questions/16312528/check-if-an-array-contains-any-element-of-another-array-in-javascript
https://www.w3schools.com/icons/tryit.asp?filename=tryicons_fa-eye
https://www.w3schools.com/icons/tryit.asp?filename=tryicons_fa-trash-o
https://jsfiddle.net/Vestride/dkr9b/
https://chatgpt.com/share/30b54623-9ab8-487f-8401-e0dce1d68c6a
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_localstorage
https://chatgpt.com/share/33bc7769-57e8-449b-aad6-04d028428ccb

Nils:

Github Copilot
https://chat.openai.com/share/73994dc4-b488-40a5-aac4-ee6dcb2238f9
https://www.youtube.com/watch?v=gy6LY0Xy2zU&t=388s
https://stackoverflow.com/questions/982919/sql-update-query-using-joins
https://stackoverflow.com/questions/60162968/how-to-dynamically-create-these-html-elements-using-js
https://chat.openai.com/share/bc1fc5a1-6348-4e74-8387-4346ec50cfb9
https://chat.openai.com/share/40671b2c-bd71-4d43-a342-65fd363f31f0
https://stackoverflow.com/questions/8893551/update-query-php-mysql
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
https://sweetalert2.github.io/
https://stackoverflow.com/questions/5426767/sql-server-how-to-use-union-with-two-queries-that-both-have-a-where-clause
https://stackoverflow.com/questions/40707493/pass-javascript-into-php-using-ajax

Samia:

Github Copilot
https://chat.openai.com/c/599204ef-1fc4-4cb8-9bda-229b001d5762
https://www.w3schools.com/css/default.asp
https://getbootstrap.com/docs/4.0/components/card/
https://www.w3schools.com/bootstrap4/bootstrap_cards.asp
https://www.youtube.com/watch?v=wRNinF7YQqQ
https://chat.openai.com/share/24027565-42ed-4bf3-8ffc-d580c5fce01f
https://www.youtube.com/watch?v=oYRda7UtuhA
https://chat.openai.com/share/2df5f9f8-3398-4e20-a1c3-57113d8cd182

Weiam:

Github Copilot
https://youtu.be/yQimoqo0-7g?si=ovJUMtBwCWlU_kjh
https://youtu.be/ZBgTzx46B8s?si=BG3xPXQg9RiPL7qP
https://chat.openai.com/share/ed202594-ebc5-487b-ae79-a46f6ec4e197
https://chat.openai.com/share/06e379b1-131f-4ca3-8e78-1418eec917b8
https://chat.openai.com/share/9f0a3b29-9770-4aee-a30a-259d6a64e3b1
https://chat.openai.com/share/d178c3b0-14d3-4a51-957c-81da2c28c649
https://www.daterangepicker.com/#config
https://chat.openai.com/share/722acf5f-d857-42fd-af97-7e61ea13346f
https://www.youtube.com/watch?v=oskJVzyEgnE
https://www.youtube.com/watch?v=FrfEWFO4VzM
https://chatgpt.com/share/3330b472-fa10-4b84-b974-69d1d4fd34cc
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_filter_list

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages