Backend server for the Campus Guide application.
- Install dependencies:
npm install- Create a .env file with:
PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
HUGGINGFACE_TOKEN=your_huggingface_token
- Run the server:
npm startPOST /api/auth/register- Register new userPOST /api/auth/login- User loginPOST /api/assistant- AI assistant endpoint