GitXplorerGitXplorer
c

loopback-example-email-templates

public
3 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
dda372d90a374134df8ae1d24a43fec16fb1d7fc

jscs fixes for the email script

cclarkbw committed 10 years ago
Unverified
ba5bafb225839178cfeb2845db5abb7b78e79b4a

add a slc run script to the package.json

cclarkbw committed 10 years ago
Unverified
52bc60ece0bec02f76b40b552dd53f91f4a8ee5e

simplify the less stylesheet

cclarkbw committed 10 years ago
Unverified
e0daf842e056df53b6c954996f321429c40ee1ba

ship an empty email

cclarkbw committed 10 years ago
Unverified
b0849a4ce144ad54bf65efae20c22633bfd3ad11

default to a memory db and stub transport in the server

cclarkbw committed 10 years ago
Unverified
e7fc7008163df5eff7af4f4a7c53463e94dd6abf

initial commit

cclarkbw committed 10 years ago

README

The README file for this repository.

loopback-example-email-templates

git clone https://github.com/clarkbw/loopback-example-email-templates.git
cd loopback-example-email-templates
npm install
bower install
slc run

In this example, we create an email template application that shares CSS between the client side and the email templates on the server side. Built with LoopBack on the server side.

##Prerequisites

###Tutorials

###Knowledge

##Procedure

###1. Create the application

####Application information

  • Name: loopback-example-email-templates
  • Directory to contain the project: loopback-example-email-templates
slc loopback loopback-example-email-templates
... # follow the prompts
cd loopback-example-email-templates

###2. Customize the client bootstrap styles

Open up the less directory to edit the bootstrap imported styles.

You can remove imports you aren't using or custom variables, look in the bootstrap variables.less file for others.

###3. Customize the email verify templates

Open up the template/verify directory and edit the files you see in there.

  • html.ejs holds the HTML that will used to render the email.
  • text.ejs holds the Plain Text that will render to the fallback text version of the email.
  • style.less imports the global client styles and allows you to make custom changes just for emails

###4. Run the application

From the project root, enter slc run and browse to localhost:3000 to view the application.