Skip to content

Front-end for an email client that makes API calls to send and receive emails created in November 2022.

Notifications You must be signed in to change notification settings

Pygeretmus/Mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commerce

Front-end for an email client that makes API calls to send and receive emails.

Getting started

$ pip install -r requirements.txt
$ python manage.py runserver
Ctrl+C - to shut down the server. 

Content

  1. Models
    1. User
    2. Email
  2. Send mail
  3. Mailbox
  4. View email
  5. Archive and unarchive
  6. Reply

Models

Here you will find a description of the models that are used.

User

This model contains the username, his email and hashed password. Used for registering, logging in, sending mails and reading them.

Email

This model contains the user recipient, sender, recipients, subject and body of the letter, timestamp and status, whether the message was *read and whether it was archived Used to work with emails.

Send mail

When user submits the email composition form, JavaScript code send the email.

Mailbox

When a user visits their Inbox, Sent mailbox, or Archive, loading the appropriate mailbox.

View email

When user clicks on an email, the user is taken to a view where they see the content of that email.

Archive and unarchive

Allow users to archive and unarchive emails that they have received.

Reply

Allow users to reply to an email.

Django Admin Interface

To create a superuser account that can access Django’s admin interface:

$ python manage.py createsuperuser 

Site superuser able to view, add, edit, and delete any listings, comments, and bids made on the site. To open superuser's console:

http://127.0.0.1:8000/admin/

About

Front-end for an email client that makes API calls to send and receive emails created in November 2022.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published