/attendance-system-nodejs

a Student Attendance Management System built with ExpressJS, Bootstrap, JQuery and MySQL.

Primary LanguageHTML

This is the ExpressJS version of this project. Click here to check out the Java version of this project.

Student Attendance Management System (SAMS)

SAMS - a Student Attendance Management System built with ExpressJS, Bootstrap, JQuery and MySQL.

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

Get Started

To start with, you must install Docker and docker-compose on your computer.

First, create a docker-compose.yml file with the following content:

version: "3"
services:
  web:
    build: .
    ports:
      - "3000:3000"
    restart: unless-stopped
  db:
    image: mysql/mysql-server:8.0
    restart: unless-stopped
    command: --default-authentication-plugin=mysql_native_password
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: sams
      MYSQL_USER: sams
      MYSQL_PASSWORD: sams
    volumes:
      - dbdata:/var/lib/mysql
      - ./my.conf:/etc/mysql/my.cnf
      - ./db/:/docker-entrypoint-initdb.d
volumes:
  dbdata:

Then, run the command to start the server:

docker-compose up -d

Wait a minutes and open http://localhost:3000 with your browser to see the result.

Demo Teacher Account

  • username: liu@test.com
  • password: testes

Demo Student Account

  • username: ftk@test.com
  • password: testes

Learn More

This is a Individual Assignment Project built by Jacky Fan in 2021 for the Course AST20201 Web Programming.

The following tech is used in this project.

  • ExpressJS - the backend solutions of this project.
  • Bootstrap - the UI solutions of this project.
  • JQuery - the client-side programming solutions of this project.
  • MySQL - the database of this project.