Skip to content

This is a simple Express server configured to retrieve the external IP address.

Notifications You must be signed in to change notification settings

gtcore902/myIP-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Express Server

This is a simple Express server configured to retrieve the external IP address. This server is necessary for the execution of this project.

Getting Started

To get started, follow these instructions:

Prerequisites

  • Node.js installed on your machine

Installation

  1. Clone this repository.

  2. Install dependencies using npm:

    npm install
    

Running the Server

To run the server, execute the following command:

node server.js

Features

Get the external IP address from the headers or connection properties of the req object.

Usage

Once the server is running, you can access it at http://localhost:4000/ to get the external IP address.

Contributing

You're welcome 😎

If you wish to use or contribute to the project, follow these steps:point_down::

  • Fork the project
  • Create a feature branch

    git checkout -b feature/NewFeature

  • Commit your changes

    git commit -m 'Add NewFeature'

  • Push the branch

    git push origin feature/AmazingFeature

  • Open a pull Request

How to use Git?

Contact

linkedin

About

This is a simple Express server configured to retrieve the external IP address.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published