Skip to content

MMaffi/be-the-hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published