Skip to content

NEmbgen/mini-send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mini Send

A small email prototype.

Description

Mini Send consists of to separate applications:

Vue

A frontend to display all the emails you've sent. You can view emails by themselves and send new ones. There are also some widgets to display statistics about your activities.

Laravel

The Backend allows you to send and search for emails. Additionally attachments can be included in your emails and later viewed in your frontend. Emails you send are queued so the application can perform better when many clients are using it.

These app were designed together with the purpose of offering a simple platform from which to send emails and view some statistics about them.

Installation

Backend (minisend_service)

.env

Make a copy of the .env.example file in the same folder and call it .env.

Enter your Database and SMTP values for these keys:

DB_CONNECTION=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

and

MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=

Composer

composer install 

Auth

php artisan jwt:secret

P.S.: If you don't seed your database you will need to create a new User yourself.

Artisan

php artisan migrate --seed // If you want some testing data
php artisan serve // To start the service

Frontend

.env

Create a new .env file in your minisend_app folder. Add the following line:

VUE_APP_API_URL=http://localhost:8000/api/

Yarn

yarn
yarn serve

Authentication

If you seeded the database, the correct user credentials are already filled in. If you did not seed the database you will have to remove those values and fill in your own.

Authentication is session-based. So you will be logged out if you reload the page.

About

A small Mail Sender prototype.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published