GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - breejs/express-example: This repository is just for example purposes.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
jobs
jobs
 
 
.commitlintrc.json
.commitlintrc.json
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.huskyrc
.huskyrc
 
 
.lintstagedrc.js
.lintstagedrc.js
 
 
.prettierrc
.prettierrc
 
 
.remarkignore
.remarkignore
 
 
.remarkrc
.remarkrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.js
app.js
 
 
bree.js
bree.js
 
 
package.json
package.json
 
 

Repository files navigation

express-example

code style styled with prettier made with lass license

This repository is just for example purposes.

Table of Contents

  • Example
  • Contributors
  • License

Example

This repository is just for example purposes. If you want to run this example locally, then follow these steps:

  1. Clone the repository locally and install dependencies:

    git clone https://github.com/breejs/express-example.git
    cd express-example
    npm install
  2. Start the app.js and bree.js processes in separate terminal windows at the same time:

    node app.js
    node bree.js
  3. Send example requests to the server (this will automatically open a browser tab for you with the rendered emails when they're sent):

    curl -X POST http://localhost:8080/send-email -d "[email protected]" 
    curl -X POST http://localhost:8080/book-ticket -d "[email protected]" -d "start_time=7/14/20 4:00 PM"
  4. You can modify the payload -d parameter values in the previous example requests if you wish to test different "movie start times" or email addresses. See the code in app.js and bree.js for more insight.

Contributors

Name Website
Nick Baugh http://niftylettuce.com/

License

MIT © Nick Baugh

About

This repository is just for example purposes.

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

19 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.