Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.07 KB

File metadata and controls

71 lines (46 loc) · 1.07 KB

express-basic-server

A minimal Express.js backend server demonstrating basic routing and a health check endpoint.
This project is part of a backend foundations series where each repository focuses on solving one specific backend concept.


Features

  • Basic Express server setup
  • Root endpoint /
  • Health check endpoint /health
  • Environment based port configuration
  • Simple JSON responses

Tech Stack

  • Node.js
  • Express.js

Installation

## Clone the repository
git clone https://github.com/a2rp/express-basic-server.git

## Go to project directory
cd express-basic-server

## Install dependencies
npm install

## Running the server
Development mode

## Production mode
npm start

API Endpoints

Root

GET /

Response

{
    "message": "Express Basic Server Running",
    "status": "success"
}

Purpose

This repository demonstrates the foundation of an Express.js backend server. It serves as the starting point for building scalable backend applications.


Author

Ashish Ranjan https://www.ashishranjan.net