# EV Web Application

An Electric Vehicle (EV) charging points management system built with Laravel.

## Requirements

- **PHP Version:** 8.2
- **Laravel Version:** 11.31
- **Database:** MySQL/MariaDB

## Installation

1. Clone the repository

```bash
git clone <repository-url>
cd ev_web-1
```

2. Install dependencies

```bash
composer install
```

3. Configure environment

```bash
cp .env.example .env
```

Edit `.env` file with your database credentials

4. Generate application key

```bash
php artisan key:generate
```

## Database Setup

### Run Migrations

First, run the database migrations:

```bash
php artisan migrate
```

### Initialize Data

After running migrations, you need to initialize the application data by visiting these URLs in order:

**IMPORTANT:** Click these link :

1. **Insert Data to Points**

   ```
   http://your-domain/insertDatatoPoints
   ```


Replace `your-domain` with your actual application URL (e.g., `localhost:8000` or `ev-web.test`).

## Running the Application

Start the development server:

```bash
php artisan serve
```

The application will be available at `http://localhost:8000`

## License

This project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
