Skip to content

About

A full-stack contact form with real-time validation, Node.js, Express and PostgreSQL.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-Stack Contact Form

A modern full-stack contact form built with HTML, CSS, JavaScript, Node.js, Express and PostgreSQL.

Live Demo

View the live project

Screenshot

Contact Form Screenshot

Features

  • Responsive contact form layout
  • Real-time form validation
  • Required and optional field validation
  • UK phone number validation
  • Success and error feedback
  • Frontend-to-backend communication using Fetch API
  • Express API endpoint
  • PostgreSQL database storage
  • Environment variables for database configuration

Tech Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript

Backend

  • Node.js
  • Express.js

Database

  • PostgreSQL

How It Works

  1. The user fills in the contact form.
  2. JavaScript validates the form fields.
  3. The form data is sent to the Express backend using the Fetch API.
  4. The backend receives the request and stores the message in PostgreSQL.
  5. The server sends a response back to the frontend.
  6. The user sees a success or error message.

About

A full-stack contact form with real-time validation, Node.js, Express and PostgreSQL.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages