Coder Social home page Coder Social logo

vpn-gate-api's Introduction

VPN Gate API

Simple access VPN Gate API with heroku/zeit-now/netlfiy and save to firebase firestore.

Deploy with Herku Deploy with ZEIT Now Deploy with Netlify

Prerequisites

Configuration

Installation

yarn

Development

Copy or rename .env.example to .env.

cp .env.example .env

Put your encode base64 text in FIREBASE ENV.

FIREBASE=YOUR_FIREBASE_HAS_ENCODED_WITH_BASE64

Run test with command:

yarn dev

Access with this url localhost:5000

API Endpoint

BASE URL:

  • Heroku: https://[YOUR-HEROKU-APP-NAME].herokuapp.com
  • Zeit Now: https://[YOUR-ZEIT-NOW-APP-NAME].now.sh
  • Netlify: https://[YOUR-NETLIFY-APP-NAME].netlify.com/.netlify/functions
method path query body details
GET / - - count servers and configs.
POST / - - insert or update servers and configs.
DELETE / - - delete servers and configs.
PATCH / - - use delete and insert at once.
GET /insert - - insert or update servers and configs.
GET /delete - - delete servers and configs.
GET /update - - use delete and insert at once.
GET /send-notification title & body - send notification to all users.
POST /send-notification - title & body send notification to all users.

Postman API Docs

Limitations

vpn-gate-api's People

Contributors

dependabot[bot] avatar panelssh avatar smdbngkt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.