Skip to content

davidzcode/express-basic-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic API with Express

This repository contains a basic API developed using Express.js.

  • Node.js installed on your system.
  • npm (Node.js package manager) installed on your system.

Installation

  1. Clone this repository to your local machine using git clone.
  2. Navigate to the cloned repository directory.
  3. Run npm install to install the dependencies.

Usage

  1. Run node index.js to start the server.
  2. The API will be available at http://localhost:3000.
  3. You can use tools like Postman or cURL to make requests to the API.

Endpoints

  • GET /: Get Hello World message.

License

This project is licensed under the MIT License.