{"id":23116314,"url":"https://github.com/breakbb/book-shelf","last_synced_at":"2025-04-04T01:25:35.626Z","repository":{"id":40471179,"uuid":"311916725","full_name":"BreakBB/book-shelf","owner":"BreakBB","description":"Simple Spring playground project.","archived":false,"fork":false,"pushed_at":"2022-05-06T06:58:33.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T13:13:00.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/BreakBB.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}},"created_at":"2020-11-11T09:05:18.000Z","updated_at":"2021-12-17T07:44:42.000Z","dependencies_parsed_at":"2022-08-09T21:30:38.578Z","dependency_job_id":null,"html_url":"https://github.com/BreakBB/book-shelf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreakBB%2Fbook-shelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreakBB%2Fbook-shelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreakBB%2Fbook-shelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreakBB%2Fbook-shelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BreakBB","download_url":"https://codeload.github.com/BreakBB/book-shelf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247105290,"owners_count":20884409,"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":[],"created_at":"2024-12-17T04:15:58.831Z","updated_at":"2025-04-04T01:25:35.604Z","avatar_url":"https://github.com/BreakBB.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book Shelf\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/BreakBB/book-shelf/Java%20CI%20with%20Maven) [![codecov](https://codecov.io/gh/BreakBB/book-shelf/branch/master/graph/badge.svg?token=K6SZEJ0T3G)](https://codecov.io/gh/BreakBB/book-shelf)\n\nA simple Spring playground project. You can find the frontend counter part here: [Book Shelf UI](https://github.com/BreakBB/book-shelf-ui).\n\n## Setup\n\n### Database initialization\n\n#### Book\n\n```sql\nDROP TABLE IF EXISTS book CASCADE;\nCREATE TABLE book (\n    id              SERIAL PRIMARY KEY,\n    isbn            TEXT NOT NULL,\n    title           TEXT,\n    author          TEXT,\n    release_date    DATE,\n    cover_id        INTEGER\n);\n```\n\n#### Cover\n\n```sql\nDROP TABLE IF EXISTS cover;\nCREATE TABLE cover\n(\n    id          SERIAL PRIMARY KEY,\n    isbn        TEXT NOT NULL,\n    image       BYTEA NOT NULL\n);\n```\n\n## Running\n\n1. Enter the correct database connection information in the application.properties\n   - Replace: `\u003cPORT\u003e`, `\u003cDATABASE_NAME\u003e`, `\u003cUSERNAME\u003e` and `\u003cPASSWORD\u003e`\n2. Maven install: `mvn install`\n3. Start container: `docker-compose up`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreakbb%2Fbook-shelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreakbb%2Fbook-shelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreakbb%2Fbook-shelf/lists"}