Skip to content

Handi-Work is a platform that connects individuals and businesses with skilled workers for various tasks—ranging from home repairs to specialized trades. It intelligently matches job requests with qualified professionals based on skills, location, availability, and customer preferences, streamlining the process of finding reliable help

License

Notifications You must be signed in to change notification settings

evansinho/Handi-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handi-work

Handi-Work is a platform that connects individuals and businesses with skilled workers for various tasks, ranging from home repairs to specialized trades. It intelligently matches job requests with qualified professionals based on skills, location, availability, and customer preferences, streamlining the process of finding reliable help for both short-term gigs and long-term contracts.

Table of Contents

Technologies

  • Backend:

    • Node.js - JavaScript runtime for building server-side applications.
    • Express - Web framework for building RESTful APIs.
    • TypeScript - Superset of JavaScript that compiles to plain JavaScript, adding static types.
    • Prisma - ORM for Node.js and TypeScript that simplifies database access.
    • PostgreSQL - Relational database management system.
  • Frontend:

    • React - JavaScript library for building user interfaces.
  • Containerization:

    • Docker - Platform for developing, shipping, and running applications in containers.
    • Docker Compose - Tool for defining and running multi-container Docker applications.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Note: Docker Desktop comes with Docker Compose included.

Getting Started

To get started with this application, follow these steps:

  1. Clone the Repository:

Open your terminal and run the following command to clone the repository:

git https://github.com/evansinho/Handi-work.git
cd handi-work
  1. Environment Configuration: Create a .env file in the backend directory and add your database connection string. For example:

DATABASE_URL=postgres://user:password@db:5432/mydb

You can customize the username, password, and database name as needed.

  1. Build and Start the Application:

In the root directory of your project, run the following command to build the Docker containers and start the application:

docker-compose up --build

The backend API will be available at http://localhost:5000. The frontend React application will be available at http://localhost:3000.

  1. Accessing the Application:

Open your web browser and navigate to http://localhost:3000 to view the React frontend. Use tools like Postman or cURL to interact with the API at http://localhost:8000.

  1. Stopping the Application:

To stop the application and remove the containers, run:

docker-compose down

Running Prisma Generate Manually

If you make changes to your Prisma schema and need to regenerate the Prisma client, you can do so with the following command:

docker-compose run backend npx prisma generate

Apply migrations to your DB docker-compose run backend npx prisma migrate dev --name init

Endpoints

  • GET / - Returns a greeting message from the Express server.
  • Add additional API endpoints here as your application grows.

License

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

About

Handi-Work is a platform that connects individuals and businesses with skilled workers for various tasks—ranging from home repairs to specialized trades. It intelligently matches job requests with qualified professionals based on skills, location, availability, and customer preferences, streamlining the process of finding reliable help

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages