Got it. Here's the rewritten README based on your exact project setup: you cd client and run npm run dev, which starts both the client and server using concurrently.
This is the client-side application for Learnify, an online learning platform. It is built with React and bootstrapped with Create React App.
✅ Note: Running
npm run devfrom inside theclient/directory will start both the frontend and backend servers usingconcurrently.
Follow these steps to run Learnify locally for development and testing.
Make sure you have the following installed:
-
Clone the repository
git clone <your-repository-url>
-
Navigate to the client directory
cd Learnify/client -
Install dependencies
Using npm:
npm install
Or using yarn:
yarn install
From inside the client/ folder, run:
npm run devThis will start both:
- Frontend (React) at http://localhost:3000
- Backend (API server) at http://localhost:5000
The application will automatically reload when you make changes. Errors and logs will be shown in the terminal.
Within the client/ directory, you can run:
npm run dev– Starts both client and server concurrently.npm start– Starts only the React frontend.npm test– Runs the test suite.npm run build– Builds the app for production to thebuild/folder.npm run eject– Ejects the Create React App configuration. (One-way operation)
- React
- React Router
- Axios
- Concurrently
Contributions are welcome! To contribute:
- Fork the repository
- Create a new branch
- Make your changes
- Open a pull request