-
Create a .env File in the Server Directory: Create a file named
.envand add the following environment credentials:PORT=5001
CLIENT_URL=http://localhost:5173MONGO_URI=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
PAYPAL_CLIENT_ID=
PAYPAL_SECRET_ID=
-
Set Up the Frontend:
- Open a terminal and navigate to the frontend directory: cd client
- Install dependencies: npm install
- Start the development server: npm run dev
-
Set Up the Backend:
- Open another terminal and navigate to the backend directory: cd server
- Install dependencies: npm install
- Start the backend server: npm run dev
-
Access the Application:
- Frontend: http://localhost:5173
- Backend/API: http://localhost:5001
Asif-Ali-13/Academix
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|