Skip to content

Latest commit

 

History

History
 
 

2-start

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Add transactional emails to a JavaScript web app (React, Express) with AWS SES

This folder contains the starting code for our tutorial on how to add transactional emails to a JavaScript web app (React, Express) with AWS SES. In the tutorial, you integrate an app with AWS SES to send a welcome email to a guest user.

Run locally

  • Clone the builderbook repo to your local machine: git clone [email protected]:builderbook/builderbook.git
  • Inside the tutorials/2-start folder, run yarn to add packages
  • Start the app with yarn dev

Project structure

.
├── components                  # React components
│   ├── Header.js               # Header component
│   ├── SharedStyles.js         # List of _reusable_ styles
├── lib                         # Code available on both client and server
│   ├── context.js              # Context for Material-UI integration
│   ├── withLayout.js           # HOC for SSR with Material-UI and more
├── pages                       # Pages
│   ├── _document.js            # Main Document for Next.js pages
│   ├── login.js                # Login page
│   ├── index.js                # Dashboard page
├── server                      # Server code
│   ├── app.js                  # Custom Express/Next server
├── .babelrc                    # Config for Babel
├── .eslintrc.js                # Config for Eslint
├── .gitignore                  # List of ignored files and directories
├── package.json                # List of packages and scripts
├── yarn.lock                   # Exact versions of packages. Generated by yarn.