A simple Express.js web server that serves the Swayatt logo image.
This is a lightweight Node.js application built with Express.js that serves a single logo image (logoswayatt.png) when accessed through a web browser. When you visit the root URL, the server responds by displaying the Swayatt logo.
- Node.js (version 12 or higher)
- npm (Node Package Manager)
- Clone or download this repository
- Navigate to the project directory:
cd "devops task"
- Install dependencies:
npm install
Run the following command:
npm startThe server will start and display:
Server running on http://localhost:3000
Once the server is running, open your web browser and navigate to:
http://localhost:3000
You will see the Swayatt logo displayed in your browser.
├── app.js # Main server file
├── package.json # Project dependencies and scripts
├── logoswayatt.png # Logo image file
└── README.md # This file
- Framework: Express.js
- Port: 3000
- Endpoint: GET
/- serves the logo image - File served:
logoswayatt.png