wiki:BuildInstructions

Build Instructions

Technology Stack

  • Backend: Node.js with Express.js
  • Frontend: EJS with CSS
  • File Uploads: Multer

Required Software

Node.js, npm

Setup Instructions

Install Dependencies with npm install

Configure Environment

Create a .env file in the project root:

# SSH
SSH_HOST=194.149.135.130
SSH_PORT=22
SSH_USER=t_c307
SSH_PASSWORD=

# Database
DB_HOST=localhost
DB_PORT=5432
DB_USER=db_202526z_va_prj_c307_owner
DB_PASSWORD=
DB_NAME=db_202526z_va_prj_c307
DB_SCHEMA=project

# Server
PORT=3000
NODE_ENV=development

Note: project passwords left empty and should be filled in.

Running the application is done with:

npm run dev

Testing Instructions

Access the Prototype

In a web browser: http://localhost:3000

Notes

  • No authentication required (prototype only)
  • Admin functions use hardcoded to "Nikola" admin
  • All uploaded files stored in public/uploads/
Last modified 5 days ago Last modified on 01/21/26 21:06:14
Note: See TracWiki for help on using the wiki.