Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node API Backend

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)

🚀 Features

  • 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)

🛠 Prerequisites

  • Node.js (v14+ recommended)
  • npm (comes with Node.js)
  • MySQL database

⚙️ Installation

# Clone the repo
git clone https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
cd node-api-backend

# Install dependencies
npm install

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages