Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 2.07 KB

README.md

File metadata and controls

63 lines (50 loc) · 2.07 KB

Legalbot_v2

Introduction

Legalbot_v2 is a legal automation project comprised of two main components: a Spring Boot backend and an Angular frontend. This project aims to streamline legal processes and provide efficient assistance to users.

Features

Installation

  1. Clone the repository:

    git clone https://github.com/sathwikiiit/Legalbot_v2.git
  2. Navigate to the project directory:

    cd Legalbot_v2
  3. Install Backend dependencies:

    mvn install
  4. Install Frontend dependencies:

    cd Legalbot
    npm install
    cd .. #back to the project directory

Configuring Database Connection (Backend)

To connect Legalbot_v2 to your database, you need to update the application.properties file located in the Backend folder. This file defines various configuration settings for the Spring Boot application.

Here are the essential properties for database connection:

  • spring.datasource.url: The JDBC URL of your database server (e.g., jdbc:mysql://localhost:3306/legalbot_db).
  • spring.datasource.username: Your database username.
  • spring.datasource.password: Your database password.
  • spring.jpa.hibernate.ddl-auto: Optional property to control database schema initialization (e.g., update to automatically update schema changes).

Running the Application

  • Start the Backend:

    cd Backend
    mvn spring-boot:run

    This will start the Spring Boot application, typically accessible on http://localhost:8080 by default (port might vary).

  • Start the Frontend:

    cd Legalbot
    ng serve

    This will start the Angular development server, usually accessible on http://localhost:4200 by default.

Remember: Configure database before running your application.