Skip to content

a2rp/express-basic-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimal Express.js backend server demonstrating basic routing and health check endpoint.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors