{"id":20743267,"url":"https://github.com/wesleybertipaglia/events-api","last_synced_at":"2025-03-11T12:32:16.824Z","repository":{"id":273007920,"uuid":"851677555","full_name":"wesleybertipaglia/events-api","owner":"wesleybertipaglia","description":"Events API is a simple application built with Spring Boot. It allows users to create, update, delete, attend, and unattend events.","archived":false,"fork":false,"pushed_at":"2024-09-03T14:24:51.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T02:23:01.213Z","etag":null,"topics":["backend","java","spring"],"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/wesleybertipaglia.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,"publiccode":null,"codemeta":null}},"created_at":"2024-09-03T14:24:48.000Z","updated_at":"2024-09-03T14:25:13.000Z","dependencies_parsed_at":"2025-01-18T02:23:03.097Z","dependency_job_id":"2478ba44-886a-4823-8f4e-c6366d38a93f","html_url":"https://github.com/wesleybertipaglia/events-api","commit_stats":null,"previous_names":["wesleybertipaglia/events-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleybertipaglia%2Fevents-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleybertipaglia%2Fevents-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleybertipaglia%2Fevents-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleybertipaglia%2Fevents-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesleybertipaglia","download_url":"https://codeload.github.com/wesleybertipaglia/events-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243035143,"owners_count":20225473,"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":["backend","java","spring"],"created_at":"2024-11-17T07:09:51.618Z","updated_at":"2025-03-11T12:32:16.808Z","avatar_url":"https://github.com/wesleybertipaglia.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Events API\n\nEvents API is a simple application built with Spring Boot. It allows users to create, update, delete, attend, and unattend events.\n\nThis project is the back-end part of the [Events APP](https://github.com/wesleybertipaglia/events-app) project.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Features](#features)\n- [ERD Diagram](#erd-diagram)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Getting Started\n\n### Prerequisites\n- Java 17 or later\n- Maven\n- OpenSSL\n\n1. Generating `app.key` and `app.pub`:\n```bash\nopenssl genrsa -out src/main/resources/app.key 2048 \nopenssl rsa -in src/main/resources/app.key -pubout -out src/main/resources/app.pub\n```\n\n2. Running with Maven\n```bash\nmvn spring-boot:run\n```\n\n3. Accessing the Application\n- API: [http://localhost:8080](http://localhost:8080)\n- Swagger: [http://localhost:8080/swagger-ui/index.html](http://localhost:8080/swagger-ui/index.html)\n\n## Features\n\nThe application includes the following functionalities:\n\n- Authentication and authorization\n- Create, update, delete own events\n- Attend, unattend other events\n- List events with pagination\n- Sort events (by creation date, update date, title, description, location, date)\n- Filter events (by title, description)\n\n## ERD Diagram\n\nThe following Entity-Relationship Diagram (ERD) shows the relationships between the entities in the application:\n\n```mermaid\nclassDiagram\n    class User {\n        uuid id\n        string name\n        string email\n        string password\n        string image\n    }\n\n    class Event {\n        uuid id\n        string title\n        string description\n        string image\n        date date\n        string location\n        User owner\n        List\u003cUser\u003e attendees\n    }\n\n    User \"1\" *-- \"n\" Event : owns\n    User \"1\" *-- \"n\" Event : attends \n```\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleybertipaglia%2Fevents-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesleybertipaglia%2Fevents-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleybertipaglia%2Fevents-api/lists"}