samarthhapse / sarthi

52 stars 70 forks source link
backend beginner-friendly chat express-js frontend javascript mongodb node-js payment-gateway reactjs redux

Sarthi - Your Pathway to Expert Assistance

Sarthi is an innovative online platform designed to bridge the gap between junior novices and seasoned experts across various industries. Whether you're a student looking for guidance, a budding professional seeking career advice, or an individual encountering technical hurdles, Sarthi is here to connect you with experienced mentors from around the globe.
## 💻 Tech Stacks           

-> Key Features <-

Step-by-step building guide:

Note: For each step write frontend, backend code, store data in DB, and then move forward to the next step

Step 1:

Create login and signup pages for juniors and seniors

Frontend:

Backend:

Database:

Step 2:

After junior/student's login, they must get 3 fields to choose:

Frontend:

Backend:

Step 3:

Note: Get the data of registered experts/seniors from the DB

Frontend:

Backend:

Step 4: (Chats)

Frontend:

Backend:

Step 5: (Payment Gateway)

Frontend:

Backend:

Step 6: (Meet)

Frontend:

Backend:

Step 7:

Frontend:

Backend:

Project Title

A brief description of what this project does and who it's for

Installation

Creating a Fork of the Repo and Clonning

1 . Clone the repository :

git clone https://github.com/samarthhapse/sarthi 

2 . Navigate to the project directory :

cd sarthi 

3 . Add git remote upstream throught the terminal navigating to the profile file:

git remote add upstream https://github.com/samarthhapse/sarthi 

To get started with Sarthi frontend, follow these steps:

1 . Start frontend :

cd client

2 . Install dependencies :

npm install

3 . Add A Environment Variable File .env having the Variables :

CLIENT_ID=<THE-GOOGLE-AUTH-CLIENT-ID>
CLIENT_SECRET_KEY=<THE-GOOGLE-AUTH-CLIENT-ID>
CLIENT_REDIRECT_URL=<THE-URL-OF-YOUR-BACKEND>

VITE_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
VITE_APPWRITE_PROJECT=<YOUR-APPWRITE-PROJECT-ID>

PORT=<PORT-AT-WHICH-YOUR-BACKEND-IS-RUNNING>

3 . Run client on localhost :

npm run dev

To get started with Sarthi Backend, follow these steps:

1 . Direct to the sarthi project directory -> then to the server directory by using :

cd server

2 . Install dependencies :

npm install

3 . Add A Environment Variable File .env having the Variables :

MONGO_URI=<YOUR-MONGODB-ATLAS-DATABASE-URL>
PORT=<PORT-YOUR-WANT-YOUR-BACKEND-TO-RUN>

CLOUDINARY_CLOUD_NAME=<YOUR-CLOUDINARY_CLOUD_NAME>
CLOUDINARY_API_KEY=<YOUR-CLOUDINARY_API_KEY>
CLOUDINARY_API_SECRET=<YOUR-CLOUDINARY_API_SECRET>

#If your dont have these details create one on https://ethereal.email/ and create a demo account
MAIL_HOST=<MAIL-HOST>
MAIL_PORT=<MAIL-PORT>
MAIL_AUTH_USER=<MAIL_AUTH_USER>
MAIL_AUTH_PASSWORD=<MAIL_AUTH_PASSWORD>

JWT_SECRET_KEY=<YOUR-JWT_SECRET_KEY>

3 . Run client on localhost :

npm run dev

This will launch the application frontend in your default web browser.

You can access it at http://localhost:5173

Our Contributors ❤️

Thank you for contributing to our repository

![Contributors](https://contrib.rocks/image?repo=samarthhapse/sarthi) ### Show some ❤️ by starring this awesome repository!