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)
- Create a
multipart-form on a new HTML page; set POST route to /signup
- Create a route in
/routes.py to accept form data from /signup; Parse form data appropriately
- Create a database connection file in
db/ called signup.py; write a suite of functions to store form data in a MongoDB database
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)
multipart-formon a new HTML page; set POST route to/signup/routes.pyto accept form data from/signup; Parse form data appropriatelydb/calledsignup.py; write a suite of functions to store form data in a MongoDB database