HomeServe is a user-centric web platform designed to bridge the gap between service providers and service takers in urban areas. Inspired by popular on-demand service apps, it enables individuals to connect, manage, and utilize various services with ease.
- Manage Services: Add, edit, or delete services based on city and category.
- Pricing Control: Set competitive prices for services.
- Current Jobs: Track ongoing bookings and mark them as completed.
- Completed Jobs: View and manage service history and performance.
- Service Discovery: Browse and compare services by city, reviews, and pricing.
- Past Jobs: Access a record of previous bookings for future reference.
- About Us: Learn about the platform’s mission and vision.
- Contact: Access essential support information.
- Services Page: View available or provided services based on user type.
- Real-time communication tools.
- Integrated payment systems.
- Frontend: React, TailwindCSS
- Backend: Node.js, Express.js
- Database: PostgreSQL
- Environment Variables: Managed using
.env
file
Follow these steps to clone and run the project on your local machine:
- Node.js (v14 or later)
- PostgreSQL (v12 or later)
- Git
-
Clone the Repository:
git clone https://github.com/its-AkshatJain/HomeServe-App.git cd homeserve
-
Set Up Backend:
- Navigate to the
server
directory:cd server
- Install dependencies:
npm install
- Create a
.env
file in theserver
directory with the following content:JWT_SECRET="your_jwt_secret" CLIENT_URL="http://localhost:5173" DB_USER="your_postgres_user" DB_HOST="localhost" DB_NAME="Homeserve" DB_PASSWORD="your_postgres_password" DB_PORT="5432"
- Start the backend server:
npm start
- Navigate to the
-
Set Up Frontend:
- Navigate to the
client
directory:cd ../client
- Install dependencies:
npm install
- Start the React development server:
npm run dev
- Navigate to the
-
Database Setup:
- Open PostgreSQL and create the
Homeserve
database:CREATE DATABASE Homeserve;
- Run the
model.sql
file in PgAdmin.
- Open PostgreSQL and create the
npm start
: Starts the backend server.npm run dev
: Starts the server in development mode.
npm run dev
: Starts the React development server.npm run build
: Builds the project for production.
Contributions are welcome! Please fork the repository and submit a pull request.
Thank you for using HomeServe!