Skip to content

joaogasparr/gostack-gympoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoStack

Rocketseat's final bootcamp challenge.

GymPoint is a system for control and interaction between gym and their students. It is possible to log in, register students, plans, enrollments, help orders, check ins and respond to help requests.

Your help orders are displayed and answered in real time with socket.io

Última confirmação do Github Idioma principal do GitHub GitHub language count License Stargazers

🚀 Getting Started

The following instructions show the walkthrough of how to copy the project to run on local machine for development and testing purposes.

Prerequisites

Installing

A step by step series of examples that tell you how to get a development env running

# Run the following command in a local directory to copy the project.

$> git clone https://github.com/joaogasparr/gostack-gympoint.git

📚 Databases

The first thing you must do is configure all database settings. To do this, follow the steps below at the terminal.

$> docker run --name postgresql -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:11

$> docker run --name redis -p 6379:6379 -d -t redis:alpine

⚙️ Back-end

# First install back-end dependencies
$> cd ./backend/ && yarn

# Create the .env file by copying from .env.example and replace the information
$> cp .env.example .env

# Create database table structure
$> yarn sequelize db:migrate

# Create records in the database
$> yarn sequelize db:seed:all

# Start back-end service
$> yarn dev

💻 Front-end

# First install front-end dependencies
$> cd ./frontend/ && yarn

# Then run app
$> yarn start

# Admin User
$> Login: admin@gympoint.com
$> Password: 123456

📱 Mobile

# First install mobile dependencies
$> cd ./mobile/ && yarn

# Create the .env file by copying from .env.example and replace the information
$> cp .env.example .env

# Second step start metro bundler
$> yarn start or yarn start --reset-cache

Then run the app on android
$> react-native run-android or yarn android

Then run the app on iOS
$> cd ./ios/ && pod install && cd ..
$> react-native run-ios or yarn ios

📝 Licença

This project is licensed under the MIT License - see the LICENSE file for details


Made with ♥ by João Vitor Gaspar 👋 See my linkedin!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors