https://github.com/mmaffi/be-the-hero
| Be The Hero | Projeto realizado com acompanhamento da Semana OmniStack da Rocketseat
https://github.com/mmaffi/be-the-hero
api-rest backend expo expo-cli express-js frontend full-stack javascript mobile node-js ongs open-source projeto-social react react-native sqlite
Last synced: 3 months ago
JSON representation
| Be The Hero | Projeto realizado com acompanhamento da Semana OmniStack da Rocketseat
- Host: GitHub
- URL: https://github.com/mmaffi/be-the-hero
- Owner: MMaffi
- License: mit
- Created: 2025-03-09T12:38:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-16T23:38:01.000Z (over 1 year ago)
- Last Synced: 2025-03-17T00:28:20.024Z (over 1 year ago)
- 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
- Language: JavaScript
- Homepage:
- Size: 457 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Be The Hero
This project is a complete application composed of three parts:
-
Backend: API built with Node.js to manage application operations. -
Frontend: Web interface developed with React.js for user interaction. -
Mobile: Mobile application created with React Native for access via mobile devices.
Index
Prerequisites
Make sure you have the following tools installed in your development environment:
Installation
Follow the steps below to set up each part of the project:
Backend
- Navigate to the backend directory:
cd backend
- Install dependencies:
npm install
Or, if you are using Yarn:
yarn install
- Configure the database:
Edit the .env file with your database configurations.
- Run migrations:
npx knex migrate:latest
- Start the server:
npm start
Or, if you are using Yarn:
yarn start
The server will be running at http://localhost:3333.
Frontend
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
Or, if you are using Yarn:
yarn install
- Start the development server:
npm start
Or, if you are using Yarn:
yarn start
The application will be available at http://localhost:3000.
Mobile
- Navigate to the mobile directory:
cd mobile
- Install dependencies:
npm install
Or, if you are using Yarn:
yarn install
- Start the application:
expo start
- Run on a device:
- Use the Expo Go app on your mobile device to scan the QR code displayed in the terminal or browser.
- For emulators, follow the instructions displayed in the terminal.
License
This project is licensed under the MIT license. See the LICENSE file for more details.