Skip to content

ansen01-svg/arm-car-rentals

Repository files navigation

CarKo - Car Rental Website

Welcome to the CarKo GitHub repository! This repository is named arm-car-rentals but it houses the code for the CarKo car rental website, hosted at carko.in. This project is built using Next.js and MongoDB. We welcome contributions from developers who are interested in enhancing the functionality and user experience of CarKo.

Table of Contents - Introduction Technologies Used Features Installation Usage Project Structure Contributing License Contact

Introduction - CarKo is a modern car rental website designed to provide users with a seamless experience for renting vehicles. This repository contains the source code for the CarKo website, which is built using the latest web technologies to ensure a responsive, fast, and secure application.

Technologies Used- Next.js: A powerful React framework for server-side rendering and static site generation. MongoDB: A NoSQL database for storing application data.

Features- User registration and authentication Vehicle search and filtering Online booking Admin panel for managing cars and bookings Responsive design for mobile and desktop users Secure and scalable architecture

Installation - To get started with the project locally, follow these steps:

Clone the repository: git clone https://github.com/your-username/arm-car-rentals.git cd arm-car-rentals

Install dependencies: npm install

Set up environment variables: Create a .env.local file in the root of the project and add the following variables:

MONGODB_URI=your_mongodb_connection_string NEXT_PUBLIC_API_URL=http://localhost:3000/api

Run the development server: npm run dev Open http://localhost:3000 in your browser to see the application in action.

Usage Once the application is running, you can:

Register as a new user or log in with existing credentials Browse available cars and filter based on your preferences Book a car and complete the payment process Access the admin panel (if you have admin privileges) to manage the fleet and bookings Project Structure The repository follows a standard Next.js project structure:

arm-car-rentals/ ├── public/ # Static files ├── src/ │ ├── components/ # Reusable UI components │ ├── pages/ # Next.js pages │ ├── styles/ # Global and component-specific styles │ ├── utils/ # Utility functions │ ├── models/ # MongoDB models │ ├── api/ # API route handlers │ └── services/ # External service integrations ├── .env.local # Environment variables ├── .gitignore # Git ignore file ├── package.json # NPM package configuration ├── README.md # Project readme file └── next.config.js # Next.js configuration

Contributing - We welcome contributions from the community! If you would like to contribute to CarKo, please follow these steps:

Fork the repository - Create a new branch (git checkout -b feature/your-feature-name) Make your changes Commit your changes (git commit -m 'Add some feature') Push to the branch (git push origin feature/your-feature-name) Open a pull request Please ensure your code follows the existing code style and includes relevant tests.

License - This project is licensed under the MIT License. See the LICENSE file for details.

Contact If you have any questions or suggestions, feel free to contact us:

Project Maintainer: Ansen Bey Email: [email protected] Thank you for your interest in contributing to CarKo!

About

A demo car rental website with rich features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published