Giter Site home page Giter Site logo

knowledgewall's Introduction

KnowledgeWall

As a fresh graduate I wanted to put my CV on my site who knows what it could bring. Not wanting my personal info to be scraped or merely added to a bottomless pit by recruiters I decided to build a tiny proof of concept. The snippet is nothing more than a tiny python script that validates a single post request.

Set-up

Everything is hosted freely on the Google App Engine. Start by making a google account and creating a new project (note your project ID) in your GAE console. Finally you will need the GAE SDK for python.

git clone https://github.com/theveloped/KnowledgeWall.git
cd KnowledgeWall

Now clone the repository and add your own validation and info to main.py. Replace the attachment.txt with an attachment of your liking and you are ready to go. Using the GAE SDK one can than deploy the app to the app engine using the following command:

gcloud app deploy

Make sure your is email address used for sending the mails is added on your GAE console under Email API Authorized Senders. If so the only thing remaining is to add your question and a small form to your site to submit the post request.

<form method="post" action="https://projectID.appspot.com/"> 
    <input type="text" placeholder="Name" value="" name="name" id="name" required>
    <input type="email" placeholder="Mail address" value="" name="mail" id="mail" required>
    <input type="number" placeholder="KnowledgeWall answer" value="" name="answer" id="answer" required>
    <button class="btn" type="submit">Submit</button>
</form>

License

This script is released under MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.