DynamiCode
Collaborated with peers to create a web app that centers around dynamic social media posts. Users can create posts that contain snippets of Python code. Other users can then run the code in a browser and see how the code changes the post. Posts can include interactive elements like sliders and dropdowns. The Python snippets are run in a sandboxed environment using Skulpt, blocking access to the server or sensitive user information on the browser.
Features
- User authentication using up-to-date security practices, such as salt+hash passwords.
- Users can create posts with Python code snippets run in browsers.
- Learning modules: Educational pages teaching the basics of Python utilizing in-browser Python snippets.
Technologies
Heroku
Python + Flask
Bootstrap
PostgreSQL
Skulpt
jQuery
The web app itself has a visual editor for creating posts, but for the sake of demonstration,
the "source code" for the demo is shown below. It's in a JSON format and can be modified freely.