Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stefanosaffran/gympoint

Gym management app - developed as the final project for @Rocketseat's Gostack Bootcamp.
https://github.com/stefanosaffran/gympoint

docker gympoint nodejs react-native reactjs redux rocketseat

Last synced: 12 days ago
JSON representation

Gym management app - developed as the final project for @Rocketseat's Gostack Bootcamp.

Awesome Lists containing this project

README

        




GymPoint Fullstack app




Last commit on GitHub
Made by Stefano
Project top programing language
GitHub license


Project   |   
Built with   |   
How to run   |   
License   |   
Get in touch

## :computer: Project

Gym management app, that allows the admin to manage students, plans, memberships and answer to student requests on the web app and students can check-in and create orders on the mobile app.

## :rocket: Built with

This project was developed with the following technologies:

- [Node.js](https://nodejs.org/)
- [ReactJS](https://reactjs.org/)
- [React Native](https://facebook.github.io/react-native/)
- [Redux](https://redux.js.org/)
- [Redux-Saga](https://redux-saga.js.org/)
- [Redux-persist](https://github.com/rt2zz/redux-persist)
- [@rocketseat/unform](https://github.com/Rocketseat/unform)
- [Styled-components](https://www.styled-components.com/)
- [React-toastify](https://github.com/fkhadra/react-toastify)
- [React Navigation](https://reactnavigation.org/)
- [React-icons](https://react-icons.netlify.com/)
- [Axios](https://github.com/axios/axios)
- [Reactotron](https://infinite.red/reactotron)
- [Immer](https://github.com/immerjs/immer)
- [Polished](https://polished.js.org/)
- [Yup](https://www.npmjs.com/package/yup)
- [Bee-queue](https://github.com/bee-queue/bee-queue)
- [Date-fns](https://date-fns.org/)
- [Prop-types](https://www.npmjs.com/package/prop-types)
- [ESLint](https://eslint.org/)
- [Prettier](https://prettier.io/)
- [VS Code](https://code.visualstudio.com/)

## :information_source: How to run

### Requirements

To run the application you will need:
* [Git](https://git-scm.com)
* [Node](https://nodejs.org/)
* [Yarn](https://yarnpkg.com/)

I strongly recommend using [Docker](https://www.docker.com/) to run the databases.


If you decide to use docker, follow this steps to install and run the docker images.

```bash
# install Redis image
$ docker run --name imageName -p 6379:6379 -d -t redis:alpine

# install Postgres image (if you don't specify an username it will be postgres by default)
$ docker run --name imagename -e POSTGRES_PASSWORD=yourPassword -p 5432:5432 -d postgres

# start Redis
$ docker start imageName

# start Postgres
$ docker start imageName

```
### Backend
Now clone the repository and install the dependencies.
```bash
# to clone the repository
$ git clone https://github.com/StefanoSaffran/gympoint.git

# go into the backend folder
$ cd gympoint/backend

#install the backend dependencies
$ yarn

```
In order to connect to the database, you will need to enter the access informations into a .env file, based on a .env.example file that is provided in the backend folder, change the variables according to your environment.
```bash
# run migrations
$ yarn sequelize db:migrate

# run seeds
$ yarn sequelize db:seed:all

# run api
$ yarn dev & yarn queue
```

### Frontend

```bash
# in another tab of the terminal install the frontend dependencies and run it
$ cd frontend
$ yarn
$ yarn start
```
Use this credentials to access the web application


email: [email protected]

senha: 123456

### Mobile

for mobile you need the Android emulator with the SDK installed or IOS emulator and the react-native cli.

The project was developed and tested on Android emulator

```bash
# install dependencies and run the mobile
$ cd mobile
$ yarn

# first open the emulator and start the react native server
$ yarn start

# in another tab install and run the app
$ yarn android

```

this part can be tricky, if you face some error, try running yarn start --reset-cache and yarn android again.

## :page_facing_up: License

This project is under the MIT license. See the [LICENSE](https://github.com/StefanoSaffran/gympoint/blob/master/LICENSE) for more information

## :mailbox_with_mail: Get in touch!


Website - Stefano Saffran
   

Linkedin - Stefano Saffran
   

Email - Stefano Saffran

---

Made with :coffee: and ❤️ by Stefano Saffran.