/ignite-fleet

Offline first app in React Native for managing vehicle fleets.

Primary LanguageTypeScript

Ignite Fleet Mobile App 🚗


About

This project is an offline-first mobile application developed with React Native and Expo for managing vehicle fleets. In the app, you can log in with your Google account and, after that, register the departure of a vehicle by informing the license plate and purpose.

The application is able to obtain your current location and identify changes in location, creating a drawing on the map of the route taken with the vehicle. Finally, it is possible to record the arrival of the vehicle and view all vehicles used in a history. As the application is offline-first, it is possible to perform these functions without an internet connection, so the data will be synchronized in an online database when there is an internet connection again.

The focus of this project was to implement social authentication, offline-first and geolocation techniques. So here are some technologies used:

  • React Native
  • Expo
  • Expo Location (get current location)
  • TypeScript
  • React Native Maps (display the map)
  • RealmDB (manage data in offline state)
  • MongoDB Atlas (manage data in online state)
  • Google Cloud Platform (social authentication and maps API)

Additionally, this project was developed during Rocketseat React Native training. The project's Figma can be accessed through the link below.

Access the project layout in Figma

Instructions

Clone the repository:

git clone https://github.com/luismda/ignite-fleet.git

Create a .env file (following the .env.example) and then install dependencies:

npm i

Run pre build:

npx expo prebuild

Start app:

npm run android

# or

npm run ios

Created by

Luís Miguel | LinkedIn

#NeverStopLearning 🚀