{"repo":"abdulvahabaa/Node-Mongoose-JWT-APIs-TS","free":true,"listed":false,"github":"https://github.com/abdulvahabaa/Node-Mongoose-JWT-APIs-TS","clone":"git clone https://github.com/abdulvahabaa/Node-Mongoose-JWT-APIs-TS.git","description":"Production-grade REST API built with Node.js, TypeScript, Express, MongoDB, and Redis.","language":"TypeScript","stars":12,"topics":["docker","express","joi-validation","linting","mongodb","nodejs","reate-limiting","redis","typescript","jwt"],"license":null,"category":"databases-storage","readme_excerpt":"Node.js REST API with TypeScript, Redis & Docker Production-grade REST API built with Node.js, TypeScript, Express, MongoDB, and Redis. 🚀 Features - TypeScript - Type-safe development - Express.js - Fast, unopinionated web framework - MongoDB - NoSQL database with Mongoose ODM - Redis - In-memory caching and session management - Docker - Containerized deployment - JWT Authentication - Secure token-based auth - Rate Limiting - Redis-based distributed rate limiting - Security - Helmet, CORS, input validation - Logging - Morgan for HTTP request logging 📋 Prerequisites - Node.js = 18.0.0 - Docker & Docker Compose - npm = 9.0.0 🛠️ Installation 1. Clone the repository 2. Install dependencies 3. Environment Setup Edit .env with your configuration: 🐳 Docker Setup Development Mode Services available: - API: http://localhost:3000 - MongoDB: mongodb://localhost:27017 - Redis: localhost:6379 - Mongo Express: http://localhost:8082 - Redis Commander: http://localhost:8081 Production Mode 💻 Local Development (Without Docker) 1. Start MongoDB and Redis locally 2. Update .env for local development 3. Run the application 📁 Project Structure 🔑 Redis Usage Examples Caching Rate Limiting Session Management 🔒 API Endpoints Authentication - POST /api/auth/register - Register new user - POST /api/auth/login - Login user - POST /api/auth/logout - Logout user Users - GET /api/users - Get all users (cached) - GET /api/users/:id - Get user by ID - PUT /api/users/:id - Update user - DELETE /api/u","default_branch":null,"files":null,"tree":[],"storefront":"/r/abdulvahabaa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/abdulvahabaa/Node-Mongoose-JWT-APIs-TS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}