Soumya98-dev / part3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Technology Class Registration System

Introduction

This project is a web-based class registration system for the Principles of Web Technology class. It allows students to submit their information and select a time slot for their class project.

Setup

Prerequisites

If Node and NPM is not installed

Before you begin, please ensure you have met the following requirements:

  1. Clone the repository:
git clone https://github.com/your-username/web-tech-class-registration.git
  1. Navigate to the project folder
cd web-tech-class-registration
  1. Install dependencies
npm install
  1. Database Configuration Set up a MySQL database and configure the connection details in server.js. Execute the SQL script provided in db.sql to create the necessary tables

  2. Start the application

npm start
OR
node server.js
  1. Access the application Open your browser and navigate to http://localhost:3000

Usage Access the registration form by visiting the homepage.

Fill in the required information, including first name, last name, project title, email, phone number, and select a time slot.

Click the "Submit" button to register.

To view the list of registered students, navigate to http://localhost:3000/students.

Dependencies

This project relies on the following dependencies:

  • Express: Fast, unopinionated, minimalist web framework for Node.js.
  • mysql2: MySQL library for Node.js.
  • ejs: Embedded JavaScript templates.

Installation

To install the dependencies, run the following command:

npm install

About


Languages

Language:HTML 45.3%Language:EJS 26.9%Language:JavaScript 22.6%Language:CSS 5.3%