{"id":21746781,"url":"https://github.com/laviprog/pastes","last_synced_at":"2026-04-07T08:31:36.373Z","repository":{"id":264594988,"uuid":"893523362","full_name":"laviprog/pastes","owner":"laviprog","description":" PASTES is a project for creating and viewing posts, such as articles, tutorials, or notes, with the option to attach files.","archived":false,"fork":false,"pushed_at":"2024-12-02T18:59:57.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T21:54:20.689Z","etag":null,"topics":["aws-s3","docker","java","jwt","openapi","postgresql","s3-storage","spring","spring-boot","spring-data-jpa","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laviprog.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-11-24T16:59:55.000Z","updated_at":"2024-12-02T19:00:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0037d73-b821-427b-b7f8-76f999676942","html_url":"https://github.com/laviprog/pastes","commit_stats":null,"previous_names":["laviprog/pastes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laviprog/pastes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviprog%2Fpastes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviprog%2Fpastes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviprog%2Fpastes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviprog%2Fpastes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laviprog","download_url":"https://codeload.github.com/laviprog/pastes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laviprog%2Fpastes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws-s3","docker","java","jwt","openapi","postgresql","s3-storage","spring","spring-boot","spring-data-jpa","spring-security"],"created_at":"2024-11-26T08:06:50.242Z","updated_at":"2026-04-07T08:31:36.339Z","avatar_url":"https://github.com/laviprog.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PASTES\n\n`PASTES` is a project for creating and viewing paste (posts), which can be small articles, training tutorials\nor just notes, you can attach files to all this, which is always nice.\n\nThe server part of the project is presented in this repository. This is a REST API application that is implemented\nusing:\n\n* `Java 21`\n* `Spring`\n* `PostgreSQL`\n* `S3`\n* `Docker`\n* `JWT`\n\n\u003cimg src=\"https://www.animatedimages.org/data/media/562/animated-line-image-0184.gif\" width=\"1920\" /\u003e\n\n## Contents\n\n* [**Getting started**](#getting-started)\n* [**Running with Docker**](#running-with-docker)\n* [**License**](#license)\n\n## Getting started\n\n### Step 1: Set Up Environment Variables\n\n1. Fill in the environment variables in the [setenv.sh](setenv.sh) file.\n\n2. Activate environment variables by running [setenv.sh](setenv.sh) file:\n\n```bash\nsource setenv.sh\n```\n\n### Step 2: Build Application\n\n```bash\nmvn clean package\n```\n\n### Step 3: Run Application\n\n```bash\nmvn spring-boot:run\n```\n\nIf you have selected port 8080, the application will be available at http://localhost:8080.\n\nThe OpenAPI documentation will be available at http://localhost:8080/swagger-ui/index.html.\n\n## Running with Docker\n\n### Step 1: Build Application\n\n```bash\nmvn clean package\n```\n\n### Step 2: Start with Docker Compose\n\n```bash\ndocker-compose up --build\n```\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%2Flaviprog%2Fpastes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaviprog%2Fpastes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaviprog%2Fpastes/lists"}