Check out the live demo of the project here.
The goal of this project is to develop a platform that connects freelancers with clients who require various services. Users can create accounts, browse through available services, and hire freelancers for their specific needs. The project aims to streamline the process of finding and hiring freelancers, providing a user-friendly interface and a secure transaction system.
- User registration and authentication
- Profile creation and management
- Service listing and search functionality
- Messaging system for communication between clients and freelancers
- Secure payment processing
- Rating and review system for freelancers
- Client can create our own project
- Front-end: HTML, CSS, JavaScript,ReactJs
- Back-end: Node.js, Express.js
- Database: MongoDB
- Payment Integration: Stripe
- Authentication: JWT (JSON Web Tokens)
- Deployment: Vercel
-
Clone the repository: git clone https://github.com/ojasbendale18200/fiverr.git
-
Install the dependencies:
cd fiverr
npm install
- Set up the environment variables:
- Create a
.env
file in the root directory. - Add the following variables to the
.env
file:
- Create a
5 Environment Variables
The following environment variables are required to run the project. Make sure to set them up before starting the application:
-
PORT
: The port number on which the server will run. Set it to3000
or any other available port. -
DB_CONNECTION
: The MongoDB connection string. Replace<your_mongodb_connection_string>
with your actual MongoDB connection string. -
JWT_SECRET
: The secret key used for JSON Web Token (JWT) encryption. Replace<your_jwt_secret_key>
with your desired secret key. -
STRIPE_API_KEY
: The API key for the Stripe payment integration. Replace<your_stripe_api_key>
with your actual Stripe API key.
You can set these environment variables by creating a .env
file in the root directory of the project and assigning the values as shown above.
- Start the server:
npm run server
- Start React Application
npm start