A clone of the BeTheHero application, developed by @Rocketseat in the 11th Omnistack Week
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.
- Clone this repo using
git clone git@github.com:laerthe-souza/lifehero.git
- Move yourself to the appropriate directory:
cd lifehero
- Run
yarn
to install dependencies - Run
yarn lerna bootstrap
to install the packages dependecies
- Move yourself to the backend folder:
cd server
- Create a
.env
file and add all the environment variables required - Run
yarn dev
to start the server
- Move yourself to the frontend folder:
cd web
- Create a
.env
file and add all the environment variables required - Run
yarn start
to start the web application
- Move yourself to the mobile folder:
cd mobile
- Run
yarn start
orexpo start
to start the mobile app
This project is licensed under the MIT License - see the LICENSE page for details.