In this repository, you'll find the final challenge for Rocketseat's bootcamp GoStack 9.0 🎓 (2019/2020). It is a complete application, which includes a Back end, Front end and Mobile.
Back end | Front end | Mobile | License
The project requires Node.js and Docker to run locally.
After cloning the repository, go to the folder named backend and install all the dependencies required.
# install dependencies
npm install# run this command
docker run --name database -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres# run this command
docker start databaseYou must create a new database called gympoint. I suggest you to use Postbird for OSX. After installing, you must add these configurations below and then create your database with UTF8 client encoding.
# host
localhost
# port
5432 (the port you set in the docker run)
# username
postgres
# password
docker (the password you set in the docker run)# run this command
docker run --name redisgympoint -p 6379:6379 -d -t redis:alpine# run this command
docker start redisgympointRename the .env-example to .env and configure it with the database and redis details. Remember to set the REDIS_HOST to 127.0.0.1.
# run this command
./node_modules/.bin/sequelize db:migrate# run this command
./node_modules/.bin/sequelize db:seed:all# run this command
npm run dev# run this command
npm run queueAfter cloning the repository, go to the folder named frontend and install all the dependencies required and run the project by using the command npm start.
# install dependencies
npm install# run at localhost:3000
npm startAfter cloning the repository, go to the folder named mobile, install all the dependencies and run the project by using the command react-native run-ios.
Note: The version of mobile app was developed for iOS system. You'll need the Xcode client in your computer in order to run the application in the Simulator or configure to use the app via USB. There are other options for running the app, for eg., Expo.
# install dependencies
npm install# run react-native
react-native run-iosThis project is under the MIT license. See the LICENSE file for more details.
Made with 💙 by João Paulo C M Fricks

