makeopensource / makeopensource.org

The codebase behind the website for MakeOpenSource
https://makeopensource.com
4 stars 6 forks source link

Email Application #26

Open emilkovacev opened 2 years ago

emilkovacev commented 2 years ago

Let's construct an email app for our website. The app should receive information from a sign-up form (only email input) and store it in a MongoDB database. The email information should be accessible from a client, and the admin team (only) should be able to send batch emails easily.

Requirements

Steps to completion (Needs work)

  1. Create a multipart-form on a new HTML page; set POST route to /signup
  2. Create a route in /routes.py to accept form data from /signup; Parse form data appropriately
  3. Create a database connection file in db/ called signup.py; write a suite of functions to store form data in a MongoDB database