A Node.js application that handles contact inquires made on the Prime Studios Contact Page using Express.js and request-promise.
- Install Node.js
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - sudo apt-get install -y nodejs
- Clone Repository
git clone git@github.com:primestudios/contact-api.git
- Install Dependencies
cd contact-api npm install
Configuration can be found in the /app_config/
directory:
Application Configuration /app_config/app.json
{
"interval": 30000 // Enter a valid interval (in milliseconds)
}
{
"protocol": "https", // HTTP or HTTPS
"host": "discordapp.com", // Where the Webhook is hosted
"route": "/api/webhooks/myawesomewebhook" // The Route to the Webhook
}
npm run-script start
This project is licensed under the MIT License © 2019-2020 Prime Studios