{"id":20772242,"url":"https://github.com/ericneves/mybooksapplication","last_synced_at":"2026-04-10T12:04:54.437Z","repository":{"id":191026206,"uuid":"678942173","full_name":"EricNeves/myBooksApplication","owner":"EricNeves","description":"🪿 Full Stack Application with PHP, JWT, Dependency Injection, PostgreSQL, React JS, React Router, Docker and more...","archived":false,"fork":false,"pushed_at":"2023-11-24T13:39:41.000Z","size":28412,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T21:52:48.755Z","etag":null,"topics":["axios","depencyinjection","jwt","pdo","php","postgresql","reactjs","routes","upload-file"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/EricNeves.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":"2023-08-15T18:37:52.000Z","updated_at":"2023-11-24T13:44:05.000Z","dependencies_parsed_at":"2023-11-24T14:47:15.876Z","dependency_job_id":null,"html_url":"https://github.com/EricNeves/myBooksApplication","commit_stats":null,"previous_names":["ericneves/mybooksapplication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EricNeves/myBooksApplication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FmyBooksApplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FmyBooksApplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FmyBooksApplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FmyBooksApplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EricNeves","download_url":"https://codeload.github.com/EricNeves/myBooksApplication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FmyBooksApplication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["axios","depencyinjection","jwt","pdo","php","postgresql","reactjs","routes","upload-file"],"created_at":"2024-11-17T12:19:51.879Z","updated_at":"2026-04-10T12:04:54.391Z","avatar_url":"https://github.com/EricNeves.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cimg src=\"./github/icon.png\"\u003e\n  \u003cbr /\u003e\n  My Books Application\n  \u003cbr /\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Aplicação Full Stack desenvolvida com PHP, PostgreSQL, ReactJS e Docker.\n\u003c/h4\u003e \n\n\u003cp align=\"center\"\u003eData de criação: Aug 24, 2023\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/last-commit/EricNeves/myBooksApplication?style=flat-square\u0026logo=github\" alt=\"Github\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/top/EricNeves/myBooksApplication?style=flat-square\u0026logo=npm\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/EricNeves/myBooksApplication?style=flat-square\u0026logo=github\u0026color=red\"\u003e\n\u003c/p\u003e\n\n![screenshot](github/mybookapp.gif)\n\n### Description💡\nAplicação \u003cb\u003eFull Stack\u003c/b\u003e que consiste em \u003cb\u003eler\u003c/b\u003e, \u003cb\u003ecriar\u003c/b\u003e, \u003cb\u003eeditar\u003c/b\u003e e \u003cb\u003edeletar\u003c/b\u003e livros pessoais, assim também como \u003cb\u003emodificar\u003c/b\u003e dados do usuário.\n\nA \u003cb\u003eAPI\u003c/b\u003e foi desenvolvida com \u003cb\u003ePHP\u003c/b\u003e, fazendo somente a utilização de uma biblioteca externa para variáveis de ambiente. Quanto ao restante, utiliza-se recursos do próprio \u003cb\u003ePHP\u003c/b\u003e, como a \u003cb\u003elibrary GD\u003c/b\u003e para redimensionar as images, \u003cb\u003eRotas\u003c/b\u003e, \u003cb\u003eURL amigável\u003c/b\u003e, \u003cb\u003eJWT\u003c/b\u003e, \u003cb\u003eInjenção de Dependência\u003c/b\u003e, \u003cb\u003ePostgreSQL\u003c/b\u003e com \u003cb\u003ePDO\u003c/b\u003e Transactions SQL e muito mais.\n\nNo \u003cb\u003efrontend\u003c/b\u003e foi utilizado o \u003cb\u003eReactJS\u003c/b\u003e para componentizar a aplicação, trazendo também diversos recursos interessantes como \u003cb\u003euseState\u003c/b\u003e, \u003cb\u003euseContext\u003c/b\u003e, \u003cb\u003eReact Router\u003c/b\u003e, UI com \u003cb\u003eChakra UI\u003c/b\u003e, \u003cb\u003eVite\u003c/b\u003e e entre outros.\n\nPara organizar o projeto, fora usado o \u003cb\u003eDocker\u003c/b\u003e, que traz muitos recursos valiosos para a execução de toda a aplicação.\n\n### Features 💿\n\n* \u003cb\u003eAPI\u003c/b\u003e\n  - PHP - v8.1\n   - Composer | psr-4\n   - Routes\n   - Dependency Injection\n   - env (vlucas/phpdotenv) - v5.5\n   - JWT Auth\n   - GD - Resize Image\n   - PDO | PDO Pgsql \n   - Upload Image\n   - Cors\n* \u003cb\u003eDatabase\u003c/b\u003e\n  - PostgreSQL\n     - BLOB (Binary Large Object)\n     - Transactions\n* \u003cb\u003eWeb\u003c/b\u003e:\n    - ReactJS - Latest\n      - Vite\n      - pnpm\n      - UI - Chakra UI | react / icons\n      - Axios\n      - React Router\n      - Local Storage\n* \u003cb\u003eDevops\u003c/b\u003e:\n  - Docker\n\n### How to use 💻\n\nPara executar a aplicação serão necessários alguns passos importantes.\n\n\n```sh\n\n# Clone Repository\n$ git clone https://github.com/EricNeves/myBooksApplication.git\n\n# MyBooksAplication Folder\n$ cd myBooksApplication/\n\n# Install Dependencies - ReactJS\n$ cd web \u0026\u0026 pnpm install\n\n# Install Dependencies - PHP\n$ cd www \u0026\u0026 composer update\n\n# Execute Docker Commands\n$ docker-compose -f www/docker-compose.yml up -d --build \u0026\u0026 docker-compose -f web/docker-compose.yml up -d --build\n\n```\n\n### Application Process ⚙️\n\n* \u003cb\u003eAPI\u003c/b\u003e\n  - localhost:8181\n* \u003cb\u003eAdminer\u003c/b\u003e\n  - localhost:8282\n* \u003cb\u003eWeb\u003c/b\u003e\n  - localhost:3131\n\nO proximo passo será copiar as informações que estão dentro do arquivo \u003cb\u003edatabase.sql\u003c/b\u003e que se encontra na raiz do projeto e posteriormente acessar o Adminer (\u003cb\u003elocalhost:8282\u003c/b\u003e). \n\nObs: password: \u003cb\u003eroot\u003c/b\u003e\n\n![Adminer](github/adminer.png)\n\nApós isso procure por \u003cb\u003eSQL command\u003c/b\u003e e execute as informações copiadas do arquivo \u003cb\u003edatabase.sql\u003c/b\u003e.\n\nDepois de todo o processo, acesse \u003cb\u003elocalhost:3131\u003c/b\u003e para consumir toda a aplicação.\n\n### License 📃\n\n\u003cimg src=\"https://img.shields.io/github/license/EricNeves/myBooksApplication?style=flat-square\u0026logo=github\u0026color=red\"\u003e\n\n### Author 🧑‍💻\n\u003ca href=\"https://www.instagram.com/ericneves_dev/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge\u0026logo=instagram\u0026logoColor=white\"\u003e\u003c/a\u003e \u003ca href=\"https://linkedin.com/in/ericnevesrr\"\u003e \u003cimg src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericneves%2Fmybooksapplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericneves%2Fmybooksapplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericneves%2Fmybooksapplication/lists"}