The E-Learning Platform is a full-stack web application that supports user authentication, payments via Stripe, and video storage and retrieval. This project utilizes Node.js, MySQL, and Stripe for payment processing, and provides a robust backend API along with a frontend interface.
- User Authentication with JWT
- Stripe Payment Integration
- Video Management with cloud storage
- Course Management for managing educational content
Before getting started, ensure you have the following tools and services installed:
- Node.js (LTS version recommended)
- npm or Yarn
- A compatible MySQL database
- A Stripe account for payment processing
-
Clone the repository:
git clone https://github.com/your-username/your-repository-name.git cd your-repository-name -
Set up environment variables:
Create a .env file in the root of your project with the following variables:
PORT=8080
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=""
DB_NAME=
JWT_SECRET=""
EMAIL_USER=""
EMAIL_PASS=""
FRONTEND_URL=localhost:3000
BASE_URL=localhost:8080
STRIPE_SECRET=""
REACT_APP_STRIPE_PUBLIC_KEY=""
SAS_TOKEN=
VEDIO_ACCOUNT_NAME=""
CONTAINER_NAME=""
STRIPE_SERVER_SECRET_KEY=""
ENDPOINT_SECRET=""-
Install dependencies:
npm install