- Introduction
- Tech Stack
- Database ER Diagram
- Prerequisites
- Backend Setup
- Frontend Setup
- Backend API Endpoints
We.are.mp4
Watch our Introductory Video to see how SpareLink can transform your aftersales process.
- Java
- Spring Boot
- Maven
- MySQL
- React:
- Tailwind CSS
- Yarn
Before you begin, ensure you have met the following requirements:
Clone the Repository:
git clone https://github.com/shubhsardana29/SpareLink.git
cd SpareLink
cd SpareLink_backend
In the SpareLink_backend/src/main/resources
directory, you'll find the application.properties file. Open this file and configure the database connection settings according to your setup. Replace the following placeholders:
${DATABASE_HOST}
: Replace with your database host.${DATABASE_PORT}
: Replace with your database port.${DATABASE_NAME}
: Replace with your database name.${DATABASE_USERNAME}
: Replace with your database username.${DATABASE_PASSWORD}
: Replace with your database password.
./mvnw spring-boot:run
The backend will run at http://localhost:8080
.
cd SpareLink_frontend
yarn install
yarn dev
The frontend will run at http://localhost:5173
.
http://localhost:8080/api/users
: Create new user.http://localhost:8080/login
: Login User.http://localhost:8080/api/get-role
: Get user team/role.http://localhost:8080/getpartrequests
: Get part requests for a particular service center.http://localhost:8080/getallpartrequests
: Get All part requests for planning team.http://localhost:8080/getalljobsheets
: Get all jobsheets for a particular service center.http://localhost:8080/createjobsheet
: Create new jobsheet for a service center user.http://localhost:8080/createpartrequest
: Create new part request from service center.