Welcome to Golden State Motors! This is a sample project showcasing a car rental application.
Golden State Motors is a React-based web application that allows users to browse a catalog of cars, view car details, add cars to their favorites, and search for specific cars based on filters.
Check out the live demo: Golden State Motors
- Browse a catalog of cars
- View detailed information about each car
- Add cars to favorites
- Search for cars based on filters (make, price, mileage)
- React.js: Frontend library for building user interfaces
- Redux: State management library for managing application state
- TypeScript: Superset of JavaScript that adds static typing and other features
- React Router: Library for declarative routing in React applications
- Redux Persist: Library for persisting Redux store state to local storage
- CSS Modules: CSS scoping and modularization for component-based styling
- GitHub Pages: Hosting platform for deploying static websites and web applications
To run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/ByeByeSyrena/Golden-State-Motors-TS-version.git
-
Navigate to the project directory:
cd Golden-State-Motors-TS-version
-
Install dependencies:
npm install
-
Start the development server:
npm run start
-
Open your browser and visit http://localhost:3000 to view the application.
The project is deployed using GitHub Pages. The deployment process involves building the React application and configuring GitHub Pages to serve the built assets from the gh-pages branch.
To deploy the application to GitHub Pages:
-
Make sure you have set up your GitHub repository with the correct settings for GitHub Pages deployment.
-
Run the following command to build the application:
npm run build
-
Once the build process is complete, commit and push the changes to your GitHub repository.
-
Run the following command to build the application:
npm run deploy
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.