/AoITHS-Node-Demo

Demo server for students to learn how NodeJS works from server-side to client-side

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

AoITHS-Node-Demo

Demo server for students to learn how NodeJS works from client-side to server-side and back.

Features

  • EJS Template Engine
  • SQLite3 Database
  • ExpressJS
    • Routing
    • Error Handling

Concepts

  • Database Create, Retrieve, Update and Delete (CRUD) Methods
  • Custom routing
  • GET / POST methods

Note*

  1. Each directory is it's own server.
  2. Server.js is the central file and starting point.

Installation

Before starting server, first install required modules.

example:

Using npm in terminal

  • In /AoITHS-Node-Demo/student-ui
  • npm install

Start Server

  • npm start

or

  • node server

and

or

Future