Skip to content

hazgnxvi/vehicle-rental-react-native

Repository files navigation

Vehicle Rental Mobile (React Native)

react-native async-storage axios Redux react-redux Redux-promise-middleware react-native-image-picker

Vehicle Rental Mobile Apps is a service for renting a vehicle, using React Native framework

Features

There are several features of this API and End Point, as below :

Public

  • Register
  • Login
  • Forgot Password
  • List Vehicle along with search, filter, sort and pagination features
  • Vehicle Detail
  • Reservation (but can't make a reservation with the vehicle you rent)
  • Reservation history

Tenant

  • Add Vehicle
  • Edit Vehicle
  • Delete Vehicle

How to Run the Application

1 Clone Repository

git clone <this repo url>

2 Install dependencies Package

npm install

OR

npm i

3 Installing dependencies

You will need Node, the React Native command line interface, a JDK, and Android Studio.

While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.

click for tutorials : cick here!

noted : i'm using JDK 11

4 Setups Project

  • Setups Environment File
  • Create file name .env on the folder project Create an .env file name in the project folder, then fill in the variables like this :

    HOST Your host backend

    note : how to find out your host, go to cmd then type ipconfig. copy paste the IPv4 Address. example : 10.236.239.129:8000. you can also use a virtual host if you use VirtualBox

    4 Run Project

    Run the app in development mode after the server/backend is running. with two terminals with the command as below:

  • first terminal
  • npm start
    
  • second terminal
  • for android emulator
    npm run android
    

    for ios emulator

    npm run ios
    

    Later the emulator will open itself if you have set dependencies

    Deployment

    example of this project https://bit.ly/3C9Golk

    Related Projects

    About

    Back-end to Front-End (vehicle-rental) mobile apps with framework react native js

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published