Adhyayan is online course selling platform where user can buy the courses and up their skill by learning through our best courses.
To Build Adhyayan we have used React.js
for Frontend, Go
for Backend, RabbitMQ
for Otp Validation, PostgreSQL
for Database and OPEN AI
for AI Integration.
- User can login/register
- List of the courses will be display once login to our platform
- User can become mentor by uploading their own courses also
- User can solve their doubts by using our AI services
- User can download the resouces if available
- User can buy course via Razorypay payment integration
- React.js
- Go
- PostgreSQL
- RabbitMQ
- ChatGPT AI
- Cloudinary
- TailWindCSS
-
Clone the repository and navigate to the directory:
git clone https://github.com/krishna102001/adhyayan.git
-
In terminal run the command:
cd frontend npm i
-
Create a
.env
files in root directory and add the following environment variables:VITE_API_BASE_URL=`http://localhost:8080` VITE_RAZORPAY_KEY_ID="{Setup your key id of Rayzorpay Payment}"
-
Start the frontend server:
npm run dev
The frontend server should now be running on
http://localhost:5173
.
-
In terminal run the command:
cd backend go mod tidy
-
Create a
.env
files in root directory and add the following environment variables:PORT="8080"(server port) DB_HOST="localhost" DB_USER="{According to your database setup}" DB_PASSWORD="{According to your database setup}" DB_NAME ="adhyayan" DB_PORT="5432"(default port) RABBITMQ_USER="{According to your rabbitmq setup}" RABBITMQ_PASSWORD="{According to your rabbitmq setup}" RABBITMQ_PORT="5672"(default port) FROM_SENDER_EMAIL="For Email Service we need it use google email" FROM_SENDER_PASSWORD="Generate one time password" JWT_SECRET="Get any secret key by yourself" CLOUDINARY_API_KEY="cloudinary key" CLOUDINARY_API_SECRET="cloudinary secret" CLOUDINARY_CLOUD_NAME="cloudinary name" RAZORPAY_KEY_ID="Razorpay key id(same which is given in frontend)" RAZORPAY_KEY_SECRET="Razort pay key secret" OPEN_API_KEY="Open AI api key"
-
Start the backend server:
air
The backend server should now be running on
http://localhost:8080
.