Skip to content

Slaknoah/MiniSend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

minisend

minisend - mailer for everyday business.

Installation

Before installing please confirm you have Docker and Node JS on your computer

# Clone project
$ git clone [email protected]:Slaknoah/MiniSend.git

# Go to project directory
$ cd Minisend

# Get submodules ( e.g laradock )
$ git submodule update --init --recursive

Installing the API

# Go to the api folder (.../Minisend/api)
$ cd api

# Set the .env files
$ cp .env.example .env
$ cp .env.testing.example .env.testing

# Lets also set the php worker config file at once
$ cp minisend-worker.conf.example laradock/php-worker/supervisord.d/minisend-worker.conf

# Go to the laradock folder (.../Minisend/api/laradock)
$ cd laradock

# Also set the .env file there
$ cp env-example .env

# Start docker services
$ docker-compose up -d nginx mysql mailhog rabbitmq php-worker 
$ docker-compose exec workspace bash

Enter the following in the opened bash terminal

# Install api dependencies 
$ composer install

# Migrate
$ php artisan migrate:fresh --seed

$ exit

Documentation

Frontend installation

# Go to the app folder  (.../Minisend/app)
$ cd app

# Set the .env file
$ cp env-example .env

# Install dependencies
$ npm install

# Start 
$ npm run dev

If all was done right you can now access your app frontend at here.

Demo user

Once you login, generate your api tokens to access the mail api by including it in your authorization header

Happy Coding!

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published