GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ShadiSbaih/node-js-with-typescript-MVCS: example how MVCS work in JS

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
controllers
controllers
 
 
interfaces
interfaces
 
 
public/styles
public/styles
 
 
services
services
 
 
utils
utils
 
 
views
views
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
server.ts
server.ts
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Node.js Express Application

This is a Node.js application built with Express framework, demonstrating basic web server functionality, routing, middleware, and API endpoints.

Installation

  1. Clone the repository:
git clone <repository-url>
  1. Navigate to the project directory:
cd nodejs-course-chapter-recording-express
  1. Install dependencies:
npm install

Usage

To start the application in development mode:

npm run dev

To start the application in production mode:

npm start

Access the application at: http://localhost:3000

API Endpoints

  • GET / - Home page
  • GET /about - About page
  • GET /api/products - Get all products
  • GET /api/products/:id - Get a specific product by ID
  • POST /api/products - Create a new product
  • PUT /api/products/:id - Update a product
  • DELETE /api/products/:id - Delete a product

Project Structure

  • app.js - Main application entry point
  • routes/ - Contains route definitions
  • controllers/ - Business logic for handling requests
  • models/ - Data models
  • public/ - Static files (CSS, JS, images)
  • views/ - Template files

Dependencies

  • Node.js
  • Express.js
  • Morgan (HTTP request logger middleware)
  • Other dependencies as listed in package.json

License

MIT

About

example how MVCS work in JS

Topics

express-jsmvcsnode-js

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.