Frontend implementation for a single-page email client using JavaScript, HTML, and CSS.
The backend functionality and API was provided by distribution code from CS50W's Mail Project. Modifications were made only in inbox.js.
- Send Mail: Submit the email composition form to send emails via a POST request to
/emails. - Mailbox: Load Inbox, Sent, or Archive mailboxes with GET requests to
/emails/<mailbox>. - View Email: Click on an email to view its content. Emails are marked as read.
- Archive/Unarchive: Archive or unarchive Inbox emails with PUT requests to
/emails/<email_id>. - Reply: Reply to emails, pre-filling the composition form.
- Clone the repository:
git clone https://github.com/your-username/mail-project.git - Run
python manage.py runserver - Interact with the email client in the browser.
Alternatively, you can also check out the app live in action on Heroku.
Herkou
Use Email:baz@example.com and Password:testing for testing purposes.
- CS50W OpenWare: mail.zip