{"id":15172176,"url":"https://github.com/confusedgustas/coffeeshop","last_synced_at":"2026-01-29T23:32:58.552Z","repository":{"id":229737946,"uuid":"777514626","full_name":"confusedGustas/CoffeeShop","owner":"confusedGustas","description":"CoffeeShop application built with Spring Boot, PostgreSQL, Angular, maildev, Sessions and CSRF tokens.","archived":false,"fork":false,"pushed_at":"2024-03-26T02:09:59.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-19T05:42:21.947Z","etag":null,"topics":["angular","apache","csrf-tokens","intellij","java","jsessionid","maildev","maven","postgresql","spring-boot","yaml"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/confusedGustas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-03-26T01:45:29.000Z","updated_at":"2024-03-26T01:47:17.000Z","dependencies_parsed_at":"2024-03-26T03:25:06.427Z","dependency_job_id":"44e3b9fe-a076-4a6c-baa8-fd97bb562fc8","html_url":"https://github.com/confusedGustas/CoffeeShop","commit_stats":null,"previous_names":["confusedgustas/coffeeshop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FCoffeeShop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FCoffeeShop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FCoffeeShop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confusedGustas%2FCoffeeShop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/confusedGustas","download_url":"https://codeload.github.com/confusedGustas/CoffeeShop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605124,"owners_count":19666998,"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":["angular","apache","csrf-tokens","intellij","java","jsessionid","maildev","maven","postgresql","spring-boot","yaml"],"created_at":"2024-09-27T09:41:56.929Z","updated_at":"2025-11-13T07:30:16.253Z","avatar_url":"https://github.com/confusedGustas.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# CoffeeShop Application\n\nA simple CoffeeShop application built with Spring Boot, PostgreSQL, Angular, maildev, Sessions and CSRF tokens.\n\n## Features\n\n- Admin Login\n- Product listing, editing and deletion\n- About Us and Contact page customization\n- JSESSIONID based authentication\n- CSRF tokens for XSS attacks\n- Contact Us trough email option\n\n## Prerequisites\n\nMake sure you have the following tools installed before setting up the application:\n\n- [Java Development Kit (JDK)](https://www.oracle.com/java/technologies/downloads/)\n- [Apache Maven](https://maven.apache.org/download.cgi)\n- [PostgreSQL](https://www.postgresql.org/download/)\n- [maildev](https://github.com/maildev/maildev)\n\n## Setup\n\n1. **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/confusedGustas/CoffeeShop\n    cd CoffeeShop\n    ```\n\n2. **Configure PostgreSQL:**\n\n   - Create a new database (coffeeshop)\n   - Leave the default settings as it is, Spring Boot will create the needed tables.\n   - If you want configurate the settings, you can do it so by accessing the `application.yaml` file\n\n    ```datasource:\n    url: jdbc:postgresql://localhost:5432/coffeeshop\n    username: postgres\n    password: postgres\n    ```\n\n3. **Build and run the application:**\n\n    ```bash\n    npm install\n    npm i maildev\n    maildev\n    mvn spring-boot:run\n    cd frontend\n    ng serve\n    ```\n\n   - Spring Boot backend will start on `http://localhost:8080`\n   - Angular frontend on `http://localhost:4200`\n   - maildev  on `http://localhost:1080`\n\n## Usage\n\n- Access the application through your [browser](http://localhost:4200), Login with the default credentials (Admin/Admin). The password can be changed through the browser.\n- [Contact](http://localhost:4200/contact), [About](http://localhost:4200/about) and [Home](http://localhost:4200) pages will be empty by default. You need to log in and edit these areas through the admin panel.\n- [Contact](http://localhost:4200/contact) page will contain a \"Contact us\" option. To test it out, fill out the blanks and visit [maildev](`http://localhost:1080`) to check out the received message.\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfusedgustas%2Fcoffeeshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfusedgustas%2Fcoffeeshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfusedgustas%2Fcoffeeshop/lists"}