Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

Prime Studios Contact API

CodeFactor

Overview

A Node.js application that handles contact inquires made on the Prime Studios Contact Page using Express.js and request-promise.

Installation

  1. Install Node.js
     curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
     sudo apt-get install -y nodejs
  2. Clone Repository
    git clone git@github.com:primestudios/contact-api.git
  3. Install Dependencies
    cd contact-api
    npm install

Usage

Configuration

Configuration can be found in the /app_config/ directory:

Application Configuration /app_config/app.json

{
	"interval": 30000 // Enter a valid interval (in milliseconds)
}

Webhook Configuration /app_config/hook.json

{
	"protocol": "https", // HTTP or HTTPS
	"host": "discordapp.com", // Where the Webhook is hosted
	"route": "/api/webhooks/myawesomewebhook" // The Route to the Webhook
}

Running

npm run-script start

License

This project is licensed under the MIT License Β© 2019-2020 Prime Studios

About

πŸ“ž The API powering the Prime Studios' Contact Page.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /