{"id":26426179,"url":"https://github.com/mmaffi/be-the-hero","last_synced_at":"2026-04-09T18:10:40.548Z","repository":{"id":282790197,"uuid":"945441263","full_name":"MMaffi/be-the-hero","owner":"MMaffi","description":"| Be The Hero | Projeto realizado com acompanhamento da Semana OmniStack da Rocketseat","archived":false,"fork":false,"pushed_at":"2025-03-16T23:38:01.000Z","size":468,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T00:28:20.024Z","etag":null,"topics":["api-rest","backend","expo","expo-cli","express-js","frontend","full-stack","javascript","mobile","node-js","ongs","open-source","projeto-social","react","react-native","sqlite"],"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/MMaffi.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":"2025-03-09T12:38:32.000Z","updated_at":"2025-03-16T23:45:42.000Z","dependencies_parsed_at":"2025-03-17T00:28:26.037Z","dependency_job_id":"e90efe83-2999-4320-8fd4-fc7289ebb220","html_url":"https://github.com/MMaffi/be-the-hero","commit_stats":null,"previous_names":["mmaffi/be-the-hero"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMaffi%2Fbe-the-hero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMaffi%2Fbe-the-hero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMaffi%2Fbe-the-hero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMaffi%2Fbe-the-hero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MMaffi","download_url":"https://codeload.github.com/MMaffi/be-the-hero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244147811,"owners_count":20406061,"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":["api-rest","backend","expo","expo-cli","express-js","frontend","full-stack","javascript","mobile","node-js","ongs","open-source","projeto-social","react","react-native","sqlite"],"created_at":"2025-03-18T03:22:42.068Z","updated_at":"2026-04-09T18:10:40.542Z","avatar_url":"https://github.com/MMaffi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eBe The Hero\u003c/h1\u003e\n\n\u003cp\u003eThis project is a complete application composed of three parts:\u003c/p\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eBackend\u003c/strong\u003e: API built with Node.js to manage application operations.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFrontend\u003c/strong\u003e: Web interface developed with React.js for user interaction.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eMobile\u003c/strong\u003e: Mobile application created with React Native for access via mobile devices.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eIndex\u003c/h2\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\n    \u003cul\u003e\n      \u003cli\u003e\u003ca href=\"#backend\"\u003eBackend\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"#frontend\"\u003eFrontend\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"#mobile\"\u003eMobile\u003c/a\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2 id=\"prerequisites\"\u003ePrerequisites\u003c/h2\u003e\n\n\u003cp\u003eMake sure you have the following tools installed in your development environment:\u003c/p\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"https://nodejs.org/\"\u003eNode.js\u003c/a\u003e (version 14 or higher)\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://www.npmjs.com/\"\u003enpm\u003c/a\u003e or \u003ca href=\"https://yarnpkg.com/\"\u003eYarn\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://docs.expo.dev/get-started/installation/\"\u003eExpo CLI\u003c/a\u003e (for the mobile application)\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2 id=\"installation\"\u003eInstallation\u003c/h2\u003e\n\n\u003cp\u003eFollow the steps below to set up each part of the project:\u003c/p\u003e\n\n\u003ch3 id=\"backend\"\u003eBackend\u003c/h3\u003e\n\n\u003col\u003e\n  \u003cli\u003e\u003cstrong\u003eNavigate to the backend directory:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003ecd backend\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"2\"\u003e\n  \u003cli\u003e\u003cstrong\u003eInstall dependencies:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003enpm install\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eOr, if you are using Yarn:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003eyarn install\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"3\"\u003e\n  \u003cli\u003e\u003cstrong\u003eConfigure the database:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cp\u003eEdit the \u003ccode\u003e.env\u003c/code\u003e file with your database configurations.\u003c/p\u003e\n\n\u003col start=\"4\"\u003e\n  \u003cli\u003e\u003cstrong\u003eRun migrations:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003enpx knex migrate:latest\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"5\"\u003e\n  \u003cli\u003e\u003cstrong\u003eStart the server:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003enpm start\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eOr, if you are using Yarn:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003eyarn start\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eThe server will be running at \u003ccode\u003ehttp://localhost:3333\u003c/code\u003e.\u003c/p\u003e\n\n\u003ch3 id=\"frontend\"\u003eFrontend\u003c/h3\u003e\n\n\u003col\u003e\n  \u003cli\u003e\u003cstrong\u003eNavigate to the frontend directory:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003ecd frontend\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"2\"\u003e\n  \u003cli\u003e\u003cstrong\u003eInstall dependencies:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003enpm install\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eOr, if you are using Yarn:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003eyarn install\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"3\"\u003e\n  \u003cli\u003e\u003cstrong\u003eStart the development server:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003enpm start\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eOr, if you are using Yarn:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003eyarn start\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eThe application will be available at \u003ccode\u003ehttp://localhost:3000\u003c/code\u003e.\u003c/p\u003e\n\n\u003ch3 id=\"mobile\"\u003eMobile\u003c/h3\u003e\n\n\u003col\u003e\n  \u003cli\u003e\u003cstrong\u003eNavigate to the mobile directory:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003ecd mobile\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"2\"\u003e\n  \u003cli\u003e\u003cstrong\u003eInstall dependencies:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003enpm install\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eOr, if you are using Yarn:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003eyarn install\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"3\"\u003e\n  \u003cli\u003e\u003cstrong\u003eStart the application:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cpre\u003e\u003ccode\u003eexpo start\u003c/code\u003e\u003c/pre\u003e\n\n\u003col start=\"4\"\u003e\n  \u003cli\u003e\u003cstrong\u003eRun on a device:\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cul\u003e\n  \u003cli\u003eUse the \u003cstrong\u003eExpo Go\u003c/strong\u003e app on your mobile device to scan the QR code displayed in the terminal or browser.\u003c/li\u003e\n  \u003cli\u003eFor emulators, follow the instructions displayed in the terminal.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2 id=\"license\"\u003eLicense\u003c/h2\u003e\n\n\u003cp\u003eThis project is licensed under the MIT license. See the \u003ca href=\"LICENSE\"\u003eLICENSE\u003c/a\u003e file for more details.\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmaffi%2Fbe-the-hero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmaffi%2Fbe-the-hero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmaffi%2Fbe-the-hero/lists"}