Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1013 Bytes

File metadata and controls

44 lines (28 loc) · 1013 Bytes

Auth System

Simple authentication project with a static frontend and an Express backend.

Live frontend

GitHub Pages serves the static UI from this repository:

  • Landing page: https://thalesmar.github.io/auth-system/
  • Sign up page: https://thalesmar.github.io/auth-system/frontend/pages/signup.html
  • Login page: https://thalesmar.github.io/auth-system/frontend/pages/login.html

Project structure

  • frontend/: static HTML, CSS, and browser JavaScript
  • backend/: Express API for sign up and login
  • assets/: shared images and icons

Run locally

  1. Install backend dependencies:
cd backend
npm install
  1. Start the backend:
npm run dev
  1. Open the frontend in a browser:
  • frontend/pages/signup.html
  • frontend/pages/login.html

By default, the frontend sends requests to http://localhost:8080.

Notes

  • GitHub Pages can only host the static frontend.
  • The backend must run locally or be deployed separately for form submission to work online.