A project prepared by Rocketseat developed during the week OmniStack 8
- ⚛️ React Js — A JavaScript library for building user interfaces
- ⚛️ React Native — A lib that provides a way to create native apps for Android and iOS
- 🔄 Typescript — A superset of JavaScript that adds typing and some other features to the language
- 🧰 Expo — An open-source platform for making universal native apps for Android, iOS, and the web with JavaScript and React.
- ⚙️ Node Js — A multiplatform software, which executes JavaScript code on the backend and frontend / interface
- 🔐 MongoDB — An multiplatform open source database oriented software
- 🚀 Socket IO — A library for realtime web applications
- Expo was used to create the native application.
- The Websocket connection was persisted in the database in order to make the server more stateless.
- The back-end and front-end were deployed using the "Heroku" tool synchronized with github.
- Clone this repo using
git clone https://github.com/S4nt1ag0/Tindev.git
- Move yourself to the appropriate directory:
cd Tindev
- Run
yarn
to install dependencies
- Move yourself to the backend folder:
cd server
- Create a
.env
file and add the MongoDB url connection inDATABASE_URI
field - Run
yarn runBackend
to start the server
- Move yourself to the frontend folder:
cd web
- Create a
.env
file and add the url and the port where the API are running inREACT_APP_API_URL
field - Run
yarn start
to start the web application
- Move yourself to the mobile folder:
cd mobile
- Create a
.env
file and add the url and the port where the API are running inREACT_APP_API_URL
field - Run
expo start
to start the mobile application and scanned the QR code with your smartphone or choose the option for run in your emulator
Note: if you are running yuor api in localhost, remember that the localhost address change for your smartphone or you emulator, in this case
get the url that expo show when you run expo start
and add the port of localhost where the server are running.
Note2: if you will use emulator remember start the emulator before choose initialize the mobile application in emulador when run expo start
This project is licensed under the MIT License - see the LICENSE page for details.