Skip to content

PIYUSH-GIRI23/zipp-api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡️ API Gateway

A lightweight, secure, and scalable Node.js API Gateway built with Express

Node.js Express Deploy with Vercel


💡 Official Repository:
👉 ZIPP — GitHub Repository


🚀 Features

Authentication Middleware — Secure API access using JWT or session-based auth
🚦 Rate Limiting — Prevent abuse with a configurable request rate limiter
🧩 Modular Routes — Organized routes for easy scalability (auth, clip, etc.)
⚙️ Environment Config — Centralized .env management
☁️ Vercel Ready — Seamless cloud deployment
🧠 Utility Layer — Device info, validation helpers, and more


🧱 Project Structure

api_gateway/
├── db/                          # Database connections or models (if any)
│
├── node_modules/                # Installed dependencies
│
├── rate_limiter/                # Custom rate-limiting logic
│   └── ratelimit.js
│
├── routes/                      # API route handlers
│   ├── auth/                    # Authentication-related routes
│   │   └── auth.js
│   ├── clip/                    # Clip-related routes
|       └── clip.js
|
│── utils/                   # Utility functions
│       └── deviceInfo.js
│
├── .env                         # Environment variables
├── .env.config                  # Optional config template
├── .gitignore                   # Files ignored by Git
├── package.json                 # Project metadata & dependencies
├── package-lock.json            # Locked dependency versions
├── Readme.md                    # This documentation ❤️
├── server.js                    # Main entry point
└── vercel.json                  # Vercel deployment config

⚙️ Setup & Installation

# 1️⃣ Clone the repository
git clone https://github.com/PIYUSH-GIRI23/zipp-api_gateway.git

# 2️⃣ Move into the directory
cd api_gateway

# 3️⃣ Install dependencies
npm install

# 4️⃣ Set up environment variables
cp .env.config .env

# 5️⃣ Start the development server
npm run dev

---

<a href="mailto:giri.piyush2003@gmail.com"><img src="https://img.shields.io/badge/Mail-D14836?style=for-the-badge&logo=gmail&logoColor=white" alt="Mail"></a>
<a href="https://github.com/PIYUSH-GIRI23"><img src="https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"></a>
<a href="https://www.linkedin.com/in/piyush-giri-031b71254/"><img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" alt="LinkedIn"></a>
<a href="https://x.com/GIRIPIYUSH2310"><img src="https://img.shields.io/badge/X-000000?style=for-the-badge&logo=x&logoColor=white" alt="X"></a>

About

A lightweight, secure, and scalable Node.js API Gateway built with Express (includes rate limiter)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors