Node. js + mongodb + ejs + bootstrap exercises CRUD to make a simple todolist

Source: Internet
Author: User
Source Code address: github. comivonleenode. js-todolist recently learned about node. js. I will not talk about installation much. apt-getyum? Brew first installs npm. Other installations can use npm to install the directory tree ivon @ IvonMac ~ Datagithubnode. js-todolist $ tree. | -- README. md | -- app. js | -- db. js | -- p

Source Code address: https://github.com/ivonlee/node.js-todolist recently in node. js, installation is not much introduced, apt-get yum? Brew first installs npm. Other installations can use npm to install the directory tree ivon @ IvonMac ~ /Data/github/node. js-todolist $ tree. | -- README. md | -- app. js | -- db. js | -- p

Source Code address: https://github.com/ivonlee/node.js-todolist

I haven't introduced much about installing node. js recently. apt-get yum? Brew first installs npm. Other installations can be installed using npm.

Directory tree
ivon@IvonMac ~/data/github/node.js-todolist$tree.|-- README.md|-- app.js|-- db.js|-- package.json|-- public|   `-- favicon.ico|-- routes|   `-- index.js|-- utils.js`-- views    |-- edit.ejs    |-- index.ejs    `-- layout.ejs3 directories, 11 files
Modules required by node. js
"Body-parser": "1.9.0", "cookie-parser": "1.3.3", cookie authentication "express": "4.9.5", mvc web Framework "ejs ": "1.0.0", ejs template engine "errorhandler": "1.2.0", error "method-override": "2.2.0", "ejs-locals": "1.0.2 ", ejs template engine "mongoose": "3.8.17", mongodb orm "morgan": "1.3.2", logger module "serve-favicon": "2.1.5 ", favicon ico "serve-static": "1.6.3", static files support "bootstrap": "3.3.0", front-end static style template "moment": "2.8.3", time module, various time conversions "jquery": "2.1.1", front-end jquery library "path": "0.4.9" mainly involves static directories such as public.
Deployment Project
git clone https://github.com/ivonlee/node.js-todolist.gitcd node.js-todolistnpm installnode app.js
Effect

Original article address: node. js + mongodb + ejs + bootstrap exercises CRUD to make a simple todolist. Thank you for sharing it with me.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.