This is the mobile part of the Aircnc project developed by Rocketseat, a Brazilian company that teaches Node.JS, ReactJS and React Native. This is a project where I could learn many professional techniques that is used in "the real world".
- The Aircnc is an application where a company can share a spot inside of your building to other developers to use it daily.
- The company access the website to register a spot saying the company's name, which technology they use and the price.
- The user access the app to search for a spot. He/She enter with an email and which technologies they work with and then they are send to another page where they can find some spots and request a date.
- The company receives this request in real-time and can accept or decline it sending the answer also in real-time to the user.
The mobile was developed with React Native using Expo and Xcode as a simulator. React Navigation was used to handle the routes in this application and socket.io to connect the requests from the mobile to the web in real-time.
- Prerequisites
-
npm
npm install npm@latest -g
- Installation
-
Clone the repo
git clone https://github.com/euguilhermegirardi/Aircnc-Mobile.git
-
Install NPM packages
npm install
-
Run the application
npm run start
-
Note: You have to run the backend to run this application.
-
In localhost you can open-up the project by clickin on 'Run on...' iOS, Android or in the browser.
Obs. Attention on this part. You may have to change the 'baseURL' in the file 'src/services/api.js' if the app doesn't run at first. Check the CONNECTION in the localhost in 'exp://...' on the left.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a pull request