This is a Node.js backend application that provides:
- ✅ User Authentication (Register & Login with JWT)
- ✅ Todo CRUD Management
- ✅ Weather Information (via OpenWeatherMap)
- ✅ API Documentation (Swagger UI)
- ✅ Prisma ORM + MySQL Database
- ✅ Security & Logging (Helmet, Rate Limiting, Winston)
- User registration and login (JWT tokens)
- Protected routes (Todos + Weather)
- Weather info for any city (via OpenWeatherMap)
- Todo Create, Read, Update, Delete (CRUD)
- Centralized error handling
- Rate limiting & Helmet for security
- Winston logging to file & console
- API Docs via Swagger (auto-generated)
- Node.js (v14+ recommended)
- npm (comes with Node.js)
- MySQL database
# Clone the repo
git clone https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
cd node-api-backend
# Install dependencies
npm install