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 - Xu-Guo/express_projects: Sample projects built with Express.js

BranchesTags
Open more actions menu

Latest commit

 

History

54 Commits
54 Commits

Folders and files

NameName
Last commit message
Last commit date
chatio
chatio
 
 
clientkeeper
clientkeeper
 
 
demoimages
demoimages
 
 
moviebase
moviebase
 
 
passportapp
passportapp
 
 
pcrepair
pcrepair
 
 
sportsblog
sportsblog
 
 
todolist
todolist
 
 
webservere
webservere
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
mongodb-install.txt
mongodb-install.txt
 
 

Repository files navigation

Express Project

Mutliple applications build with Express.js on the back-end, different projects may use different templating engine or Front-end framework.Have fun with projects.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

Credits

All the projects are built following the tutorial from Brad Traversy, thanks for providing such good material.

1.Real-Time Chat

A simple online chat application built with socket.io and Express.js on the back-end and Jade(pug) as view engine. People can join the chat and post in real-time.

Demo Images

alt text


Installation

  • Express.js: backend framework
  • Pug: view engine
  • Socket.io: real-time engine
  • Bootstrap: layout and styles
  1. Install dependencies: npm install
  2. Install bootstrap: bower install bootstrap

Usage and How to Run

Desc :Real-time online chatting app, can be plugin to any existing Express.js project.

To run this application:

  1. Route to project folder and use npm start to start the server.
  2. Open browser and go to http://localhost:3000
  3. Enjoy the chat app.

2.Passport.js App

A simple login and authentication application. The project use back-end server local authentication method and can be integrated into any [Express.js] web applications.Database is MongoDB.

Demo Images

alt text alt text


Installation

  • Express.js: backend framework
  • handlebars: view engine
  • Passport.js: real-time engine
  • Bootstrap: layout and styles
  • Mongoose: MongoDB ODM
  • MongoDB: Database
  1. Install dependencies: npm install
  2. Install bootstrap: bower install bootstrap

Usage and How to Run

Desc :Simple login, register, authentication application.

To run this application:

  1. Route to project folder and use npm start to start the server.
  2. Open browser and go to http://localhost:3000
  3. Enjoy the chat app.

3.PC repair website App

A simple PC reqair website application

Demo Images

alt text


Installation

  • Express.js: backend framework
  • pug: view engine
  1. Install dependencies: npm install
  2. Install bootstrap: bower install bootstrap

Usage and How to Run

Please modify the code in routes/contact.js to config the nodemailer so that the server can send email to notify.

var transporter = nodemailer.createTransport({
        service : 'Gmail',
        auth : {
            user : '[email protected]',
            pass : 'password'//not real
        }
    });

    var mailOptions = {
        from : '"JohnDoe" <[email protected]>',
        to : '[email protected]',
        subject : 'Hello from PC Repair',
        text : 'You have a submission from... Name : ' + req.body.name + ' Email : ' + req.body.email + 'Message' + req.body.message,
        html : '<p>You have a submission from...</p><ul><li> Name : ' + req.body.name + '</li><li> Email : ' + req.body.email + '</li><li> Message : ' + req.body.message + '</li></ul>'
    }

    transporter.sendMail(mailOptions, function(error, info){
        if(error){
            return console.log(error);
        }

        console.log('Message Sent: '+info.response);
        res.redirect('/');
    }); 
    

To run this application:

  1. Route to project folder and use npm start to start the server.
  2. Open browser and go to http://localhost:3000
  3. Enjoy the chat app.

4.ToDo List App

A simple ToDoList application.

Demo Images

alt text


Installation

  • Express.js: backend framework
  • ejs: view engine
  • MongoDB: Database
  1. Install dependencies: npm install

Usage and How to Run

To run this application:

  1. Route to project folder and use npm start to start the server.
  2. Open browser and go to http://localhost:3000
  3. Enjoy the chat app.

About

Sample projects built with Express.js

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — 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.