The online "Cadet Store" that my classmates asked me to build
 
 
 
 
 
Go to file
John Hammond 96c493a679 Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
dev Adding the latest rendition of the code... 2016-09-05 20:09:45 -04:00
static Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
templates Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
uploads/uploads Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
OLD_DATABASE.db Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
README.md Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
badwords.txt Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
certificate.crt Updated a lot 2017-01-02 00:59:10 -05:00
clean.sh Added templates, javascript (jquery), and a cleaning script 2016-08-17 11:15:05 -04:00
database.db Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
download_pictures.sh Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
email_test.py Adding the latest rendition of the code... 2016-09-05 20:09:45 -04:00
here.db Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
install_dependencies.sh Updated a lot 2017-01-02 00:59:10 -05:00
privateKey.key Updated a lot 2017-01-02 00:59:10 -05:00
schema.sql Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
server.py Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
server_base.py Updated a lot 2017-01-02 00:59:10 -05:00
setup.sh Updated a lot 2017-01-02 00:59:10 -05:00
update_server.sh Updated stuff to the most recent server version 2017-01-11 20:35:54 -05:00
verify_account.sh Updated stuff to the most recent server version 2017-01-11 20:35:54 -05: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].