{"id":28419761,"url":"https://github.com/frer0t/userverse","last_synced_at":"2026-04-12T17:02:12.953Z","repository":{"id":272820131,"uuid":"917829295","full_name":"frer0t/userverse","owner":"frer0t","description":"creating api for data analysis","archived":false,"fork":false,"pushed_at":"2025-03-03T20:20:43.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T00:14:38.461Z","etag":null,"topics":["data","data-analytics","spring-boot","users"],"latest_commit_sha":null,"homepage":"https://userverse.frerot.dev/swagger-ui/index.html","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/frer0t.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,"zenodo":null}},"created_at":"2025-01-16T18:11:58.000Z","updated_at":"2025-06-02T14:10:47.000Z","dependencies_parsed_at":"2025-01-16T20:47:04.701Z","dependency_job_id":"8dc524d1-2798-4d7f-9da5-e7eb08f77fd4","html_url":"https://github.com/frer0t/userverse","commit_stats":null,"previous_names":["iamfrerot/userverse","frer0t/userverse","tanjirobro/userverse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frer0t/userverse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frer0t%2Fuserverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frer0t%2Fuserverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frer0t%2Fuserverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frer0t%2Fuserverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frer0t","download_url":"https://codeload.github.com/frer0t/userverse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frer0t%2Fuserverse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262431121,"owners_count":23309978,"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":["data","data-analytics","spring-boot","users"],"created_at":"2025-06-04T20:31:34.254Z","updated_at":"2026-04-12T17:02:07.634Z","avatar_url":"https://github.com/frer0t.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Userverse \n\n## Overview\nUserverse is a Java-based application that uses Spring Boot and MongoDB. The project is built using Maven and is containerized using Docker. This project provides an API for data analysis.\n\n## Prerequisites\n- Java 17\n- Maven\n- Docker (optional, for containerization)\n\n## Configuration\nThe application configuration is managed through YAML files. The main configuration file is `application.yaml`, and environment-specific configurations can be found in files like `application-dev.yaml`.\n\n### `application.yaml`\n```yaml\nserver:\n  port: ${PORT:2000}\nspring:\n  application:\n    name: userverse\n  profiles:\n    active: ${PROFILE:dev}\n```\n\n### `application-dev.yaml`\n```yaml\nspring:\n  data:\n    mongodb:\n      database: ${MONGODB_DATABASE:userverse}\n      uri: ${MONGODB_URI:mongodb://localhost:27017}}\n```\n\n### `application-prod.yaml`\n```yaml\nspring:\n  data:\n    mongodb:\n      database: ${MONGODB_DATABASE}\n      uri: ${MONGODB_URI}\n```\n\n## Building the Project\nTo build the project, run the following command:\n```sh\n./mvnw clean install\n```\n\n## Running the Application\nTo run the application, use the following command:\n```sh\n./mvnw spring-boot:run\n```\n\n## Docker Support\nThe project includes a `Dockerfile` for containerization.\n\n### Building the Docker Image\nTo build the Docker image, run:\n```sh\ndocker build -t userverse .\n```\n\n### Running the Docker Container\nTo run the Docker container, use:\n```sh\ndocker run --name my_userverse -p 2000:2000 -e MONGODB_URI=mongodb://host.docker.internal:27017 userverse\n```\n\n## Endpoints\n\n### Example Endpoints\n\n- `GET /user`: Retrieves a list of users.\n- `GET /user/{id}`: Retrieves a user by ID.\n- `GET /user/profile/{userid}`: Get user profile by ID.\n- `GET /user/preference/{userid}`: Get user preferences by ID.\n- `POST /user/preference/{userid}`: Create a user preference.\n\n## .gitignore\nThe `.gitignore` file is configured to exclude build directories and IDE-specific files.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrer0t%2Fuserverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrer0t%2Fuserverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrer0t%2Fuserverse/lists"}