An open API service indexing awesome lists of open source software.

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

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


  1. Navigate to the backend directory:

cd backend


  1. Install dependencies:

npm install

Or, if you are using Yarn:

yarn install


  1. Configure the database:

Edit the .env file with your database configurations.


  1. Run migrations:

npx knex migrate:latest


  1. Start the server:

npm start

Or, if you are using Yarn:

yarn start

The server will be running at http://localhost:3333.

Frontend


  1. Navigate to the frontend directory:

cd frontend


  1. Install dependencies:

npm install

Or, if you are using Yarn:

yarn install


  1. Start the development server:

npm start

Or, if you are using Yarn:

yarn start

The application will be available at http://localhost:3000.

Mobile


  1. Navigate to the mobile directory:

cd mobile


  1. Install dependencies:

npm install

Or, if you are using Yarn:

yarn install


  1. Start the application:

expo start


  1. 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.