Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 [email protected]: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