Skip to content

An email client that makes API calls to send and receive emails built using Django 4, HTML 5, CSS 3, Bootstrap 5 with a Bootswatch theme, and vanilla JavaScript.

License

Notifications You must be signed in to change notification settings

BobsProgrammingAcademy/email-client

Repository files navigation

Email Client

This is an email client that makes API calls to send and receive emails built using Django 4, HTML 5, CSS 3, Bootstrap 5 with a Bootswatch theme, and vanilla JavaScript.

plot

Table of Contents

Prerequisites

Install the following prerequisites:

  1. Python 3.8-3.11
    This project uses Django v4.2.4. For Django to work, you must install a correct version of Python on your machine. More information here.
  2. Visual Studio Code

Installation

1. Create a virtual environment

From the root directory, run:

python -m venv venv

2. Activate the virtual environment

From the root directory, run:

On macOS:

source venv/bin/activate

On Windows:

venv\scripts\activate

3. Install required dependencies

From the root directory, run:

pip install -r requirements.txt

4. Run migrations

From the root directory, run:

python manage.py makemigrations
python manage.py migrate

Run the application

From the root directory, run:

python manage.py runserver

Run the tests

From the root directory, run:

python manage.py test --pattern="tests.py"

View the application

Go to http://127.0.0.1:8000/ to view the application.

Note

Just remember to send an email to an email address that already exists in the database.

Copyright and License

Copyright © 2022 Bob's Programming Academy. Code released under the MIT license.

About

An email client that makes API calls to send and receive emails built using Django 4, HTML 5, CSS 3, Bootstrap 5 with a Bootswatch theme, and vanilla JavaScript.

Topics

Resources

License

Stars

Watchers

Forks