This project is the challenge 09 of Rocketseat bootcamp course. It's a gym management application.
This application allows the manager to register students, plans and enrollments through the web platform. The student, through the mobile application, can check in and open help orders, which managers can also respond through the web application.
Both web and mobile application consumes the same API, to see all the parts working together clone the repository and follow the steps below to setup each project.
It's deployed on heroku, check it out: gympoint-api-caio.herokuapp.com
Install the dependencies
yarn install
Set the environment variables in a .env file as exemplified in the .env.example
Run the migrations to create the database
yarn sequelize db:migrate
Run the seeds to populate the database
yarn sequelize db:seed:all
Just start the server
yarn dev
It's deployed on netlify, check it out:
- gympoint.com
- email:
admin@gympoint.com
- password:
123456
- email:
Install the dependencies
yarn install
- Create a .env file and set a variable
REACT_APP_API_URL
with the value of your server url
- It should looks like this:
CREATE_APP_API_URL=http://127.0.0.1:3333
run in development mode
yarn start
You can install the app on your device to test it out:
Clone the repo and enter the app folder
git clone https://github.com/CaioQuirinoMedeiros/Gympoint.git
cd Gympoint/gympoint_app
Install expo-cli
npm i -g expo-cli
reference to expo official documentation
Install dependencies
expo install
Set the API_URL on src/config/api-config
Run the app
expo start