Skip to content

ezequielcsilva/be-the-hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub language count Repository size GitHub last commit Repository issues License

App to help NGOs built with ReactJS, React Native, Node.js and more.

About this Project

Web

The web page will be used to register the NGO, where you will receive an ID for access. Subsequently, cases will be registered on the profile page.

App

In the application will be listed all the cases registered by the NGOs, where you will have WhatsApp and E-mail so that the user can contribute with the case by contacting the responsible person directly.

Why?

BeTheHero is a project that aims to connect people who want to make monetary contributions to NGOs (non-governmental organizations) that need help.

Tech

  • NodeJs - Build the server
  • ReactJs - A JavaScript library for building user interfaces
  • React Native - Native Development
  • Expo - Deploy and quickly iterate on native Android, iOS, and web apps
  • SQLite3 - DB Connector
  • Express - Router of the Application
  • KnexJs - SQL query builder for Postgres, MSSQL, MySQL, MariaDB, SQLite3, Oracle, and Amazon Redshift
  • Celebrate - A joi validation middleware for Express.
  • CORS - Cross-origin Resource Sharing
  • Axios - Promise based HTTP client for the browser and NodeJs
  • Jest - Jest is a JavaScript testing framework maintained by Facebook
  • Supertest - Super-agent driven library for testing node.js HTTP servers
  • Prettier - An opinionated code formatter
  • ESlint - ESLint statically analyzes your code to quickly find problems.

Development setup

Prerequisites

To run this project in the development mode, you'll need to have a basic environment with NodeJs and Expo CLI installed.

Cloning the Repository

git clone https://github.com/fariasmateuss/be-the-hero.git

Installing

Back-End

Run yarn in the backend folder;

Run yarn start to up the server;

Open Insomnia or Postman and import the Insomnia.json workspace file at backend folder.

Front-End

Run yarn in the frontend folder;

Run yarn start to up the project;

Mobile

Run yarn in the mobile folder

Update the baseURL at src/services/api.js.

Run expo start to up the project.

Test

Run yarn test:backend at the backend folder;

Migrations

Update the database

knex migrate:latest

To rollback all the completed migrations:

yarn migrate:rollback

To run the next migration that has not yet been run

knex migrate:up

To undo the last migration that was run

knex migrate:down

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published