Skip to content

About

Secure login API on Google Cloud with layered defenses: Firebase Authentication, App Check with reCAPTCHA Enterprise, rate limiting, and a Cloud Armor firewall. Security events are logged to Firestore.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SafeAPI - Secure Web Application

A secure web application built with multiple layers of cybersecurity protection, deployed on Google Cloud Platform.


What is this?

SafeAPI is a secure login system that protects against real-world cyber threats including bot attacks, brute force attempts, DDoS attacks, and unauthorized API access.


Tech Stack

Firebase Auth · App Check · reCAPTCHA Enterprise · Node.js · Express · Firestore · Docker · Google Cloud Run · Load Balancer · Cloud Armor


Security Layers

  1. Firebase Authentication - verifies user identity via JWT tokens
  2. App Check + reCAPTCHA Enterprise - verifies requests come from the real app, not bots
  3. Rate Limiting + Bot Detection - blocks brute force and automated attacks
  4. Cloud Armor - network-level DDoS and WAF protection at the Load Balancer

Documentation

File Contents
Architecture.md System diagram, request flow, component details
SECURITY.md Each security layer, attacks prevented, how it works
DEPLOYMENT.md Full deployment guide with explanations

Output

Login page:

login page

Valid credentials:

valid credentials

valid creds

Invalid credentials:

invalid credentials

invalid creds

Rate Limiting

rate limiting

ratelimit creds

About

Secure login API on Google Cloud with layered defenses: Firebase Authentication, App Check with reCAPTCHA Enterprise, rate limiting, and a Cloud Armor firewall. Security events are logged to Firestore.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages