The online "Cadet Store" that my classmates asked me to build
 
 
 
 
 
Go to file
John Hammond 5faabce182 Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
ctf_skeleton Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
static Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
templates Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
README.md Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
clean.sh Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
schema.sql First commit! Adding a README and some pieces to get rolling. 2016-08-17 08:55:35 -04:00
server_base.py Added a login template and put together a base for the server code. 2016-08-17 10:58:30 -04:00
setup.sh Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00

README.md

BearShop

John Hammond | August 17th, 2016


This repo is dedicated to housing all materials and code for an idea that I have titled "BearShop." My classmates have came to me with an idea to create a buy/trade/sell store for the USCGA, so this is all the work put in for my rendition of it.

I plan to do this project in Python with Flask.

File & Directory Information

  • ctf_skeleton/

    This directory holds some code from a recent CTF platform I tried to build on my own. I am using elements from it, so I just snagged to code to be able to cherry-pick off of it and change what I need to get this project rolling. Do not consider it a part of this project; it is not. It is just included as a convenience for me while the BearShop project is still be developed.

  • static/

    This folder is required by Flask and it is where all "static" files live, like things for CSS or images or fonts.

  • templates/

    This is another folder required by Flask, and it stores all of the HTML code that builds the markup of the website.

  • schema.sql

    This is the SQL schema file that is used to create the database for the webpage. It should create and define tables for things like users, the products on sale, and anything else that may be deemed necessary.

  • setup.sh

    This is the bash script that I planned on using to initially create the server. It sets up the database, creates private keys to be used, and modifies a "base" rendition of the server Python script to add all of the configuration variables that can be set in the setup.sh script.

  • server_base.py

    This is actual source code of the web application. ! Remember, it is not what you will actually run to deploy the server; the setup.sh script will take it and configure it, to create a new, functional server.py which is what you will run when you deploy.

  • clean.sh

    This is just a one-liner script that just gets rid of the created server.py and the private keys created for use with [HTTPS].