Skip to content

LengTech11/VisionCareAI-Detect-Consult

Repository files navigation

VisionCareAI Consult

This is a project using Flutter for the front end and Laravel for the back end. This README provides a guide to set up and run the project locally.

Table of Contents

Prerequisites

Ensure you have the following installed on your system:

Setup

hello

Backend Setup (Laravel)

  1. Clone the repository:

    git clone https://github.com/LengTech11/VisionCareAI-Detect-Consult
  2. Install dependencies:

    composer install
  3. Copy the .env.example file to .env:

    cp .env.example .env
  4. Generate the application key:

    php artisan key:generate
  5. Set up your database and update the .env file with your database credentials.

  6. Run the migrations:

    php artisan migrate
  7. Seed the database (optional):

    php artisan db:seed

Frontend Setup (Flutter)

  1. Navigate to the frontend directory:

    cd ../frontend
  2. Get the Flutter dependencies:

    flutter pub get

Running the Project

Running the Backend

  1. Start the Laravel development server:

    php artisan serve
  2. The server will be running at http://127.0.0.1:8000.

Running the Frontend

  1. Ensure your device or emulator is running.

  2. Start the Flutter application:

    flutter run

Configuration

  • Backend (Laravel): Configure your environment variables in the .env file located in the backend directory.
  • Frontend (Flutter): Configure any necessary constants or API endpoints in the appropriate configuration files.

Troubleshooting

  • Backend Issues:

    • Ensure your .env file is configured correctly.
    • Check if your database service is running.
  • Frontend Issues:

    • Ensure you have a connected device or emulator.
    • Check for dependency issues by running flutter doctor.

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •