https://github.com/synzen/captura-contest
Upload images for a contest. Made for a gaming community.
https://github.com/synzen/captura-contest
Last synced: about 1 month ago
JSON representation
Upload images for a contest. Made for a gaming community.
- Host: GitHub
- URL: https://github.com/synzen/captura-contest
- Owner: synzen
- Created: 2017-12-31T01:59:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T03:13:37.000Z (almost 8 years ago)
- Last Synced: 2025-02-25T08:52:49.795Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 23.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Captura Contest
A single-page application built with JQuery that allows users to upload images for it to be voted on by the public. User authentication is done via Discord OAuth 2, and submission moderation tools are controlled via server roles in a manually-specified Discord server.
Images are uploaded via Imgur, and linked to onsite. Webserver is created with Express.
Made specifically for a game community. To run this repo:
* Install [Node](https://nodejs.org/en/)
* Install [MySQL](https://www.mysql.com/products/community/)
* Clone this repo
* Put MySQL credentials in mysqlCred.json
* Put a Discord Bot's client id, client secret, bot token and a discord server in config.json
* Run `npm install` to install dependencies
* Run `node server` in terminal/command prompt in the main directory
* Enter localhost:3000 in any web browser
## Preview

**Disclaimer:** The background image in public/imgs/skybox2.jpg is not my creation, and is from https://www.warframe.com/news/building-warframe-ice-planet