{"id":15055826,"url":"https://github.com/parinaz11/dbproject_storeapplication","last_synced_at":"2026-01-02T06:08:55.458Z","repository":{"id":214253736,"uuid":"736070049","full_name":"Parinaz11/DBProject_StoreApplication","owner":"Parinaz11","description":"A Store Application using Java, JavaFX \u0026 SceneBuilder and MongoDB","archived":false,"fork":false,"pushed_at":"2024-03-28T04:19:29.000Z","size":31593,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T00:39:37.180Z","etag":null,"topics":["database","java","javafx","javafx-application","management","mongodb","scenebuilder","store","store-platforms","storemanager"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Parinaz11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-26T22:48:56.000Z","updated_at":"2024-03-01T19:43:30.000Z","dependencies_parsed_at":"2023-12-29T02:24:38.195Z","dependency_job_id":"6f4a0eb4-894a-4b4f-b35c-894d10343e02","html_url":"https://github.com/Parinaz11/DBProject_StoreApplication","commit_stats":null,"previous_names":["parinaz11/dbproject_storeapplication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parinaz11%2FDBProject_StoreApplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parinaz11%2FDBProject_StoreApplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parinaz11%2FDBProject_StoreApplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parinaz11%2FDBProject_StoreApplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Parinaz11","download_url":"https://codeload.github.com/Parinaz11/DBProject_StoreApplication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532531,"owners_count":20306152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","java","javafx","javafx-application","management","mongodb","scenebuilder","store","store-platforms","storemanager"],"created_at":"2024-09-24T21:46:35.779Z","updated_at":"2026-01-02T06:08:50.419Z","avatar_url":"https://github.com/Parinaz11.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Store Application\nUsing Java, JavaFX (a Java graphics library for our GUI) and MongoDB (for our database) we created a simple store application.\n\n## Program Guide\nThe database I created in mongodb, was named Store_Application and it had two collections named LoginInfo (each document containing Username, Password and an array called boughtProducts for a user) and Products (each document contianing Name, Price, Brand, Category, ImageID, itemsLeft and an array called reviews). \n\nAfter running the program, you are faced with a login/signUp page in which you are required to enter your username and password. Usernames and passwords are stored in our local database. If you enter the wrong password for a username or your username does not exist, you are not authorized to enter and therefore should click on the little signUp button to enter the signUp page. In this page the username and password that you enter is stored as a new document in LoginInfo collection and you enter the main page showing our products.\n\nThere are different categories such as All, makeup, cars, clothes, laptops, cellphones, etc. Also there is a search bar at the top of the page where you can search a part of the name for a product you want and it will show it to you. \n\nFor each product you click on, you're able to see the information that is collected from our database for that product and can add the product to your cart (boughtProducts array) or write reviews for it which will also store in our database.\n\nIf you want to exit the program, simply click on the SignOut button to enter the login page and then click on the EXIT button.\n\n## How to Run the Program\nFor this project we are going to make use of three tools;\n\nMongodb server\n\nmongodb-java-driver 3.12.14\n\nScene builder\n\nIf you already have these tools installed on your system, you can go straight to clone and open this project on your system.\n\nFirst, we are going to set up our mongodb server. Go to the link below and download mongodb \n\nhttps://www.mongodb.com/download-center#community\n\nNow, go to the link below and follow the steps to configure and start your mongodb service\n\nFor windows,\n\nhttps://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/\n\nFor linux,\n\nhttps://docs.mongodb.com/manual/administration/install-on-linux/\n\nFor mac,\n\nhttps://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/\n\nNow that we have mongodb up and running, lets create our project. \n\nI will be making use of javafx, so we can create a javafx project and set it up.\n\nLess i forget we will need scene builder to create our awesome GUI for the project. So if u don't have scene builder on your system, go to the link below and download it, \n\nhttp://gluonhq.com/products/scene-builder/\n\nAfter you download it, integrate it to your IDE...\n\nGo to http://code.makery.ch/library/javafx-8-tutorial/part1/ if you are using eclipse, \n\nGo to https://www.jetbrains.com/help/idea/opening-fxml-files-in-javafx-scene-builder.html if you are using intellij,\n\nGo to https://docs.oracle.com/javase/8/scene-builder-2/work-with-java-ides/sb-with-nb.htm for netbeans \n\nWe need a driver in our java application that will be able to communicate with the mongodb server right from our java application\n\nThere are different parkages out there but i will be using mongo-java-driver 3.5.0\n\nGo to the link below to download it,\n\nhttps://jar-download.com/?search_box=mongo-java-driver\n\nWhat you need to do now is to add the mongo-java-driver 3.12.14 to your java library.\nHow? Open IntelliJ IDEA follow these steps:\n\nFile -\u003e Project Structure -\u003e Libraries\n\nThen click on the plus sign above and select mongo-java-driver-3.5.0 JAR file that you downloaded. You're ready to go.\n\n\n# Screenshots\nLogin and sign up page:\n![1 LoginPage](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/5102da21-6cf9-491a-bdc9-8ae47f950802)\n\n![2 SignUpPage](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/90064ce8-371b-49a1-a3d8-3517d0a2487d)\n\nMain product page:\n![3 AllProducts](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/7cfd3992-9405-46db-8bf4-310325936c25)\n\n![4_2 BookProduct](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/00053901-7f3d-411a-812c-804241a07724)\n\n## MongoDB database\nProduct Collection:\n![7 ProductCollection](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/c02d5b1e-8ec7-459d-81af-eefa45b69fcc)\n\nUser Collection:\n![9 UserCollection](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/8578c442-68f7-4f98-95fc-ecc43ce7fb4a)\n\n![8 UserAddToCart](https://github.com/Parinaz11/DBProject_StoreApplication/assets/99842583/bb221765-ea6c-44f4-b31c-8db28731d006)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparinaz11%2Fdbproject_storeapplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparinaz11%2Fdbproject_storeapplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparinaz11%2Fdbproject_storeapplication/lists"}