{"id":22371617,"url":"https://github.com/rolik-oleksandr/cinema-rest-api","last_synced_at":"2026-05-06T07:35:34.300Z","repository":{"id":177584133,"uuid":"660592887","full_name":"Rolik-Oleksandr/cinema-rest-api","owner":"Rolik-Oleksandr","description":"Web API supports user authentication,  authorization and CRUD operations, main stack: Spring MVC, Spring Security, Hibernate","archived":false,"fork":false,"pushed_at":"2023-08-10T13:20:27.000Z","size":179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T22:07:10.032Z","etag":null,"topics":["crud","hibernate","java-17","rest-api","spring-mvc","spring-security"],"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/Rolik-Oleksandr.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-06-30T11:05:44.000Z","updated_at":"2023-06-30T13:18:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bb34b1b-9956-4c35-98c5-d1fe9a41fac6","html_url":"https://github.com/Rolik-Oleksandr/cinema-rest-api","commit_stats":null,"previous_names":["rolik-oleksandr/cinema-rest-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rolik-Oleksandr%2Fcinema-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rolik-Oleksandr%2Fcinema-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rolik-Oleksandr%2Fcinema-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rolik-Oleksandr%2Fcinema-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rolik-Oleksandr","download_url":"https://codeload.github.com/Rolik-Oleksandr/cinema-rest-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699263,"owners_count":20657987,"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":["crud","hibernate","java-17","rest-api","spring-mvc","spring-security"],"created_at":"2024-12-04T20:28:36.180Z","updated_at":"2026-05-06T07:35:29.276Z","avatar_url":"https://github.com/Rolik-Oleksandr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎥Cinema-REST-API\r\n\r\n## 📄 Description:\r\nCinema REST-API Allow add movie session to cinema hall, and find available session. Supports user authentication,\r\nauthorization and CRUD operations.\r\nCreated using Spring \u0026 Hibernate.\r\n## 💻Main technology stack:\r\n- Java 17\r\n- Spring Security\r\n- Spring Web MVC\r\n- Hibernate, MySQL 8.0\r\n- Tomcat 9.0.75\r\n- Maven\r\n\r\n![pic](img.png)\r\n\r\n## 📂 Project structure:\r\n- config -contains config classes required by Spring \u0026 Hibernate.\r\n- controller -all http controllers.\r\n- dao -classes responsible for crud operations with db.\r\n- exception -custom exceptions.\r\n- lib -custom validators for email, password and confirm password.\r\n- model -model classes for entities shown in scheme above.\r\n- service -classes that are responsible for business logic and connecting dao with controllers\r\n- service/mapper -mappers that are used to parse dto to entity and entity to dto.\r\n- util -util class containing date pattern\r\n\r\n#### resources/\r\n- db.properties -file containing database and Hibernate properties.\r\n### 📄 How to use application\r\nRequires Intellij and jdk 17 already installed\r\nFirst you will need to pull this project from github. Here link to this project.\r\n````\r\ngit@github.com:Rolik-Oleksandr/cinema-rest-api.git\r\n````\r\n\r\n1. Clone this repo to you IDE.\r\n2. Create new run configuration tomcat_local\r\n3. Replace username, password, driver and url in resources/db.properties with your own.\r\n![pic](properties.png)\r\n4. Run \"mvn clean package\" command in your terminal.\r\n5. If everything okay - start Tomcat and try app.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolik-oleksandr%2Fcinema-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolik-oleksandr%2Fcinema-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolik-oleksandr%2Fcinema-rest-api/lists"}