- Secure API endpoints for tutor data and user authentication.
- JWT-based authentication.
- MongoDB for data storage.
- Handles review counts and tutor filtering based on categories.
- Node.js
- Express.js
- MongoDB
-
Clone the repository:
git clone <repository-url> cd server
-
Install dependencies:
npm install
-
Add
.envfile with the following:PORT=5000 MONGO_URI=<your-mongo-connection-string> JWT_SECRET=<your-jwt-secret> GOOGLE_CLIENT_ID=<your-google-client-id>
-
Start the server:
npm start
-
API will run at:
http://localhost:5000