PersonalLearn is a full-stack personal learning management system that helps you organize notes, bookmarks, flashcards, and tasks in one place.
This repository is a monorepo containing two main projects:
PersonalLearn-Frontend: The user interface built with React and Vite.PersonalLearn-Backend: The REST API built with Node.js, Express, and MongoDB.
To run this project locally, you will need to start both the frontend and the backend servers.
- Navigate to the backend folder:
cd PersonalLearn-Backend - Install dependencies:
npm install
- Create a
.envfile in thePersonalLearn-Backendfolder with the following variables:MONGODB_URI=your_mongodb_connection_string PORT=5001
- Start the backend server:
The backend will run on
npm run dev
http://localhost:5001.
- Open a new terminal and navigate to the frontend folder:
cd PersonalLearn-Frontend - Install dependencies:
npm install
- Create a
.envfile in thePersonalLearn-Frontendfolder:VITE_API_URL=http://localhost:5001 VITE_PORT=5173
- Start the frontend development server:
The frontend will run on
npm run dev
http://localhost:5173.
- Frontend Live URL: (Add your deployed frontend URL here)
- Backend Live URL:
https://your-deployed-backend-url.onrender.com
(Note: When deploying the frontend, make sure to update the VITE_API_URL environment variable to point to the live backend URL).