Giter Site home page Giter Site logo

crabi's Introduction

Car Rental App

Overview

This Car Rental App for learning purpose

Features

  • Interactive Map View: Utilize Google Maps to display available cars, allowing users to easily find nearby rental options.
  • Car Booking: A straightforward booking process powered by a sleek UI designed with Ant Design.

Technologies Used

Getting Started

Prerequisites

  • Node.js (v20 or later)
  • npm/yarn

Local setup

  1. Clone the repository:
git clone https://github.com/your-username/car-rental-app.git
cd car-rental-app
  1. Install dependencies:
npm install
# or
yarn install
  1. Set up environment variables

Use your own Google Maps API key into .env file, otherwise the when you run with preview command it won't work

  1. Start the development server:
npm run dev
# or
yarn dev

Open http://localhost:5173 to view the app in your browser.

Docker Setup

If you prefer to use Docker, you can build and run the application using Docker commands.

  1. Build the Docker image:
npm run docker:build
# or
yarn docker:build
  1. Run the application in a Docker container:
npm run docker:run
# or
yarn docker:run

This command runs the Docker container, making the application accessible at http://localhost:8080

Testing

To run the tests, use the following command:

npm run test
# or
yarn test

To see the test result with comprehensive UI, use the following command:

npm run test:ui
# or
yarn test:ui

Build and Deployment

To build and deploy the project into your own server run the following command

npm run build
# or
yarn build

crabi's People

Contributors

diondirza avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.