Skip to content

Alexandru200509/wave

Repository files navigation


Logo

Wave

Table of Contents

Contents
  1. About the Project
  2. Getting Started
  3. API Reference
  4. License
  5. Contact

About the project

Wave is an efficient, scalable, and open-source backend solution designed for retrieving geographical locations of public IP addresses. It leverages the power of MaxMind's GeoLite2 database and is crafted in TypeScript. This project serves as a free microservice for VoltzzNode Enterprise.

Built with

  • Typescript
  • Express.js
  • Helmet.js
  • Node.js
  • Nodemon
  • MaxMind

Getting Started

To get started with the Wave, follow these steps:

Installation

  1. Install NVM (Node Version Manager) by following the instructions for your operating system:

    • Windows: Visit the NVM for Windows repository at https://github.com/coreybutler/nvm-windows and follow the installation guide.
    • Linux/macOS: Open your terminal and run the following command:
      curl -o- https://github.com/coreybutler/nvm-windows.git | bash
  2. Reload the shell configuration

    • Linux/macOS: Run the following command:
      source ~/.bashrc
  3. Install Node.js 21 by running the following command:

    nvm install 21
  4. Verify that Node.js 21 is installed:

    node --version

Clone the Repository

  1. Clone the repository:
    git clone https://github.com/Alexandru200509/wave.git
  2. Navigate to the project directory:
    cd wave

Install Dependencies

  1. Install NPM packages:
    npm install

Configuration

  1. The configuration file write's itself automatically!

Usage

  • Start the server as production:

    npm run start
  • Start the server as production(JavaScript build):

    npm run start-js
    • Important: To run the JavaScript build, you must first build the server using:
      npm run build
  • Start the server as dev:

    npm run dev
  • Build and compile the server as executable:

    npm run build
  • Test the server:

    npm run test
  • Overwrite the coding style:

    npm run format

API Reference

For detailed information about the API endpoints and request/response examples, please refer to the API Reference documentation.

License

This project is licensed under the CC-BY-NC-ND-4.0 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors