Sign inSign up

70madmax07/authapi-frontend

By 70madmax07

•Updated 14 days ago

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

Image
Developer tools
Web servers
0

118

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

Content type

Image

Digest

sha256:0f9f4b2f4…

Size

25.7 MB

Last updated

26 days ago

docker pull 70madmax07/authapi-frontend