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
[ ] email sign-up form
[ ] email storage (MongoDB)
[ ] admin-panel email client (to send an receive emails)
[ ] (optional) email authentication
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-form
on a new HTML page; set POST route to/signup
/routes.py
to accept form data from/signup
; Parse form data appropriatelydb/
calledsignup.py
; write a suite of functions to store form data in a MongoDB database