Evoney / Be-the-hero

Semana Omnistack 11 from Rocketseat: Done ✅ REVALIDATE ON FOCUS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

be the Hero

BE THE HERO SYSTEM

A system to integrate the people to help Ongs

Last commit on GitHub Made by Evoney Mendonça Project top programing language GitHub license

Built with   |    How to run   |    Licence   |    Get in touch



🚀 Built with

This project was developed with the following technologies:

ℹ️ How to run

Requirements

To run the app, you will need Git, Node.js v12.13.1 or higher, Npm, SQLite3.

Backend

Now clone the repository and install the dependencies.

# to clone the repository
git clone https://github.com/Evoney/Be-the-hero.git

# go into the backend folder
cd bethehero/backend

#install the backend dependencies
yarn or npm install

In order to connect to the database, you will need to enter the access informations into a .env file, based on a .env.example file that is provided in the backend folder, change the variables according to your environment.

# run migrations
yarn knex migrate:latest
  &
npm knex migrate:latest


# run api
yarn dev & npm run dev

Frontend

# in another tab of the terminal install the frontend dependencies and run it 
cd frontend
yarn
yarn start & npm install

Use this credentials to access the web application

Mobile

The Application was developed using Expo. It is a free and open source toolchain built around React Native to facilitate the process of running and testing applications. Click here to get start with Expo.

# install the dependencies
cd mobile
yarn

In order to run the application on your device, you need to change the ip config.

api.js

  baseURL: 'http://192.168.0.235:3333',

replace 192.168.0.235 with your machine's ip.

Now with everything on place, run the application.

# to run the app
npm start

Expo will open a page in your browser, scan the QRcode on the page and wait for the app to load.

The Application was developed and tested on Samsung J4


📄 License

This project is under the MIT license.

📬 Get in touch!

LinkedIn


Made with ☕ and ♥ by Evoney.

About

Semana Omnistack 11 from Rocketseat: Done ✅ REVALIDATE ON FOCUS

License:MIT License


Languages

Language:JavaScript 80.0%Language:CSS 19.0%Language:HTML 1.0%