HUB
Sign inSign up
authapi-frontend logo

70madmax07/authapi-frontend

By 70madmax07

•Updated about 2 months ago

React & Vite SPA client for authentication workflows, served via optimized Nginx reverse proxy.

Image
Developer tools
Web servers
0

164

70madmax07/authapi-frontend repository overview

⁠Authentication Client UI

A responsive Single Page Application (SPA) providing login, registration, password recovery, and authenticated dashboard workflows. Built with React and Vite, bundled into static assets, and served via an optimized Nginx Alpine reverse proxy.

⁠Architecture & Features

  • Embedded Reverse Proxy: Nginx forwards /api/ traffic directly to the backend authentication container, avoiding CORS friction.
  • Client Route Support: Pre-configured try_files $uri /index.html prevents 404 errors when users refresh deep auth routes (e.g., /login, /register, /reset-password).
  • Token Handling: Supports secure HTTP-only cookies and in-memory authorization headers with automatic refresh triggers.
  • Minimal Footprint: Multi-stage build under 100MB with zero Node.js runtime overhead in production.

⁠Quickstart (Standalone Container)

docker run -d \
  --name auth-frontend \
  -p 3000:80 \
  70madmax07/authapi-frontend:latest
Tag summary
Recent tags
Content type
Image
Digest
sha256:0f9f4b2f4…
Size
25.7 MB
Last updated
2 months ago
docker pull 70madmax07/authapi-frontend:latest