Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laerthe-souza/lifehero
A clone of the BeTheHero application, developed by @Rocketseat in the 11th Omnistack Week
https://github.com/laerthe-souza/lifehero
express nodejs postgresql react react-native socket-io typeorm typescript
Last synced: 2 days ago
JSON representation
A clone of the BeTheHero application, developed by @Rocketseat in the 11th Omnistack Week
- Host: GitHub
- URL: https://github.com/laerthe-souza/lifehero
- Owner: Laerthe-Souza
- License: mit
- Created: 2021-01-21T17:26:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-26T05:02:04.000Z (about 4 years ago)
- Last Synced: 2024-01-09T17:44:50.973Z (about 1 year ago)
- Topics: express, nodejs, postgresql, react, react-native, socket-io, typeorm, typescript
- Language: TypeScript
- Homepage: https://lifehero.netlify.app
- Size: 3.23 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Life HeroA clone of the BeTheHero application, developed by @Rocketseat in the 11th Omnistack Week
## View the web app
![]()
This page is responsible for receiving the user's email and password and subsequently authenticating with the database. Then, a 'token' is provided to validate all future operations (requests) made in the API.
![]()
This page is responsible for receiving user data, validating all fields and then creating a new record in the database. After registering, the user must wait 24 hours for the administrator to verify the veracity of the data and activate the registration.
![]()
This page is the dashboard, where the ONG views all incidents and performs operations.
![]()
This page is where the ONG registers a new incident.
![]()
This page is where the ONG can updating your datas and uploading profile picture.
## View the mobile app
![]()
![]()
![]()
![]()
![]()
## Getting started
1. Clone this repo using `git clone [email protected]:laerthe-souza/lifehero.git`
2. Move yourself to the appropriate directory: `cd lifehero`
3. Run `yarn` to install dependencies
4. Run `yarn lerna bootstrap` to install the packages dependecies### Getting started with the server
1. Move yourself to the backend folder: `cd server`
2. Create a `.env` file and add all the environment variables required
3. Run `yarn dev` to start the server### Getting started with the web app
1. Move yourself to the frontend folder: `cd web`
2. Create a `.env` file and add all the environment variables required
2. Run `yarn start` to start the web application### Getting started with the mobile app
1. Move yourself to the mobile folder: `cd mobile`
2. Run `yarn start` or `expo start` to start the mobile app## License
This project is licensed under the MIT License - see the [LICENSE](https://opensource.org/licenses/MIT) page for details.