Member_2_8186723
asked on
Node express Skeleton Site with Nodemailer
Hi everyone
Can anyone help me or show me the right way to approach this assignment for my class? I am new to programming and missed lots of class. I just want to know the step by step process or the things I need to learn it.
Node-Express Site with Nodemailer – Research Assignment
Using a brand new Express Generator App skeleton, add the following:
(1) Build out a few ‘standard’ routes (contact, team, etc.) in the application;
each of these routes should in the end render out a full HTML-based page
(from included partial files, see below), but you do not need any content
other than placeholder text/image content in each view.
(2)Install the Nodemailer module through npm to make it available locally,
(using SMTP) in your application. Use the Nodemailer documentation as a
guide and build a route and a view (form) to enable sending an email through
a mail service (NOTE: If you use Gmail you may get a warning email when
you test it that your Google credentials were used by an ‘unsafe’ app, that is
to be expected). Search for Nodemailer from the npm main site, and you will
get to the documentation that will show you how to set everything up.
(3) Use partials in ejs, the page renderer you are currently using, so that you can
create and include ‘proper’ views (e.g., header, footer). Then modify all fullpage
ejs examples into a more modular form.
(4) Add some CSS styling to the ejs template views in your application, again not
a fully designed layout but sufficient styling to make your app visually
distinct.
For 90%+:
(5) Research and use a second module to add more functionality to your site.
The goal here is to have you become more familiar with available modules,
and the process of including them in your apps via npm, package.json, etc.
NOTE: I would strongly suggest to not go for an authorization module like
Passport, there is a lot of extra detail involved.
(6) Create a new Express generated skeleton but use handlebars.js as your view
render engine instead of ejs. (Use partials here also as described above, but
find the handlebars method for including). Research how to tweak that
renderer parameter when you set up your app skeleton (we also discussed
this detail in class, **hint** help flag **hint**).
Thank you in advance
Can anyone help me or show me the right way to approach this assignment for my class? I am new to programming and missed lots of class. I just want to know the step by step process or the things I need to learn it.
Node-Express Site with Nodemailer – Research Assignment
Using a brand new Express Generator App skeleton, add the following:
(1) Build out a few ‘standard’ routes (contact, team, etc.) in the application;
each of these routes should in the end render out a full HTML-based page
(from included partial files, see below), but you do not need any content
other than placeholder text/image content in each view.
(2)Install the Nodemailer module through npm to make it available locally,
(using SMTP) in your application. Use the Nodemailer documentation as a
guide and build a route and a view (form) to enable sending an email through
a mail service (NOTE: If you use Gmail you may get a warning email when
you test it that your Google credentials were used by an ‘unsafe’ app, that is
to be expected). Search for Nodemailer from the npm main site, and you will
get to the documentation that will show you how to set everything up.
(3) Use partials in ejs, the page renderer you are currently using, so that you can
create and include ‘proper’ views (e.g., header, footer). Then modify all fullpage
ejs examples into a more modular form.
(4) Add some CSS styling to the ejs template views in your application, again not
a fully designed layout but sufficient styling to make your app visually
distinct.
For 90%+:
(5) Research and use a second module to add more functionality to your site.
The goal here is to have you become more familiar with available modules,
and the process of including them in your apps via npm, package.json, etc.
NOTE: I would strongly suggest to not go for an authorization module like
Passport, there is a lot of extra detail involved.
(6) Create a new Express generated skeleton but use handlebars.js as your view
render engine instead of ejs. (Use partials here also as described above, but
find the handlebars method for including). Research how to tweak that
renderer parameter when you set up your app skeleton (we also discussed
this detail in class, **hint** help flag **hint**).
Thank you in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.