Skip to content

alexremus26/Cinemania

Repository files navigation

Cinemania

Cinemania is now structured as a Node.js + Express application with EJS templates.

Run

  1. Install dependencies:
npm install
  1. Start server:
npm start
  1. Open in browser:
http://localhost:8080

Project Structure

  • index.js - Express server entrypoint
  • views/pagini/index.ejs - main homepage template
  • views/fragmente/head.ejs - reusable head section
  • views/fragmente/header.ejs - reusable header/navigation section
  • views/fragmente/footer.ejs - reusable footer section
  • resurse/ - static assets served by Express

Static Assets

Express serves static files from resurse using server-style absolute paths:

  • /resurse/stiluri/... for CSS
  • /resurse/imagini/... for images and favicons
  • /resurse/documente/... for PDF and downloadable files

All resource references in EJS pages should use absolute URLs (for example /resurse/stiluri/general.css) and not relative paths.

About

Website for a cinema

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors