Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muslehud77/swiftrental-client
SwiftRental is a modern car rental platform offering seamless vehicle bookings with secure payments via Stripe and Aamarpay. Built with React, Redux, and TypeScript, it features role-based access, Google Maps integration, and dynamic UI animations using Framer Motion and GSAP.
https://github.com/muslehud77/swiftrental-client
aamarpay-payment-gateway framer-motion jwt-authentication react redux rtkquery shadcn-ui stripe tailwindcss typescript
Last synced: 10 days ago
JSON representation
SwiftRental is a modern car rental platform offering seamless vehicle bookings with secure payments via Stripe and Aamarpay. Built with React, Redux, and TypeScript, it features role-based access, Google Maps integration, and dynamic UI animations using Framer Motion and GSAP.
- Host: GitHub
- URL: https://github.com/muslehud77/swiftrental-client
- Owner: Muslehud77
- Created: 2024-09-03T17:13:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-06T14:35:01.000Z (4 months ago)
- Last Synced: 2024-11-12T20:11:55.461Z (2 months ago)
- Topics: aamarpay-payment-gateway, framer-motion, jwt-authentication, react, redux, rtkquery, shadcn-ui, stripe, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://swiftrental.vercel.app/
- Size: 61.5 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwiftRental
SwiftRental is an advanced car rental platform designed to offer users a seamless experience for booking vehicles. The platform supports role-based access, allowing admins to manage cars, approve bookings, and oversee trips, while users can browse and rent cars with ease. Integrated with secure payment gateways like Stripe and Aamarpay, it ensures smooth transactions. Additionally, the platform utilizes Google Maps for location tracking and features modern UI/UX with animations powered by Framer Motion and GSAP. SwiftRental is built using React, Redux, and TypeScript for a robust and scalable frontend.
## Table of Contents
- [Technologies Used](#technologies-used)
- [Features](#features)
- [Admin Credentials](#admin-credentials)
- [Links](#links)
- [Project Setup](#project-setup)
- [Environment Variables](#environment-variables)## Technologies Used
- **Frontend**: TypeScript, React, Redux, Redux Persist, RTK Query, TailwindCSS, ShadCN
- **Payments**: Stripe, Aamarpay
- **Other Tools**: Vite, Axios, GSAP, Framer Motion, React Router DOM, ESLint, PostCSS, Blurhash
- **APIs**: Google Maps API for car location tracking
- **Animations**: Framer Motion, GSAP## Features
- User Authentication and Authorization
- Car Listing and Details
- Car Booking and Trip Management
- Admin Dashboard for Car and Booking Management
- Secure Payments with Stripe and Aamarpay
- Role-based access control for Admin functionalities
- Integrated Google Maps for location services
- Car image placeholders with Blurhash
- Smooth animations using Framer Motion and GSAP### Admin Capabilities
- **Profile Management**: Admins can manage their profile details.
- **Manage Cars**: Add, edit, delete cars from the platform.
- **Booking Approvals**: Admins can approve or reject booking requests.
- **End Trips**: Admins can manage and end active trips.
- **Statistics**: View various platform performance metrics.## Admin Credentials
To access the admin dashboard, use the following credentials:- **Email**: [email protected]
- **Password**: SwiftRental## Links
[![Frontend Live Demo](https://img.shields.io/badge/Frontend%20Live%20Demo-SwiftRental-blue?style=for-the-badge&logo=appveyor)](https://swiftrental.vercel.app/)
[![Server Repository](https://img.shields.io/badge/Server%20Repository-SwiftRental-blue?style=for-the-badge&logo=github)](https://github.com/Muslehud77/SwiftRental)
## Project Setup
### Prerequisites
- Node.js
- npm or yarn### Installation
1. Clone the repository:```sh
git clone https://github.com/Muslehud77/SwiftRental-client.git
```2. Navigate to the project directory:
```sh
cd SwiftRental-client
```3. Install dependencies:
```sh
npm install
```If you encounter issues, use the following command:
```sh
npm install --force
```4. Set up environment variables:
Create a `.env.local` file in the root directory with the following content:```env
VITE_IMAGEBB_API=api key of imagebb
VITE_BASE_URL=http://server.com/api
VITE_GOOGLE_MAP_API_KEY=api key of google map
VITE_Stripe_PublishableKey=stripe publishable key
```5. Start the development server:
```sh
npm run dev
```Feel free to explore and contribute to the project!
---
Thank you for checking out SwiftRental! If you have any questions or feedback, feel free to reach out.
---