Skip to content

00012878/WT_CW2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Technology Coursework #2 (Semester 2, 2023)

This repository is an academic work (coursework) of the Web Technology module taught at Westminster International University in Tashkent in Business Information Systems course level 4.

Repository: https://github.com/00012878/WT_CW2
Hosted on: https://aerial-obtainable-session.glitch.me/

Project description

Fully functioning web application where a user can perform CRUD operations.
There is no actual database, and the app imitates working with database by performing read and write operations over data/data.json file that stores actual data.

index.js is a server-side js that runs localhost server.

CSS is stored in public/ folder and it is encouraged to store additional client-side js, css and media files in that folder accordingly.

routes/students.js handles route requests.

All rendering templates are stored in views/ folder.

Back-end is built with the help of Express.
To make the app dynamic, Pug is used.

Run on local machine

  1. Make sure NodeJS and npm is installed.
  2. Clone the repository: git clone https://github.com/00012878/WT_CW2.git
  3. Navigate to the downloaded repository and install dependencies: npm i
  4. Serve the app on localhost: node index.js or npm run start
  5. (optional) If a user wants to debug and make changes to the app, npm run debug will serve localhost with auto-reloading of index.js when changes to the project are made.

Dependecies

  1. Express -- for serving localhost
  2. Pug -- for dynamic rendering of webpages
  3. Nodemon -- for auto-reloading of local server

About

Web Technology module coursework 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published