Demo server for students to learn how NodeJS works from client-side to server-side and back.
- EJS Template Engine
- SQLite3 Database
- ExpressJS
- Routing
- Error Handling
- Database Create, Retrieve, Update and Delete (CRUD) Methods
- Custom routing
- GET / POST methods
- Each directory is it's own server.
- Server.js is the central file and starting point.
Before starting server, first install required modules.
example:
Using npm in terminal
- In /AoITHS-Node-Demo/student-ui
- npm install
- npm start
or
- node server
and
or
- REpresentational State Transfer (REST) Server
- End Points that is accessible from other applications.
- JSON Format
- HTTP Responses