The original tutorial Https://github.com/nswbmw/N-blog/wiki/_pages the first chapter, due to the version and other reasons, in the original tutorial based on a slight change can be achieved.Environment:Win7 Flagship edition 64-bitnode.js:0.10.31mongodb:2.6.4express:3.xEffect: Registration Interface:Login interface:Login success:Post blog:Publishing success:Source code: blog/
Order
$ update-rc.d A Start 1 2 3 4 5 stop 0 6$ start 50 1 2 3 4 5 # represents the 5 run levels in 1,2,3,4,5, in order, from small to large execution, 50th start run script $ stop 50 0 6 # Indicates that in 0,6 these two runlevel, in order, from small to to execution, 52nd stop this script run $ update-rc.d mousycoder Remove # uninstall Mousycoder Boot Service
StartOpen your browser and enter the IP or domain name you configured earlierHome Http://hostname.com/ghostGhost Backstage Htt
1. Install Webstorm and crack2. Install node (and express frame)
Download and install it from the website. (http://nodejs.org) v0.10.32 MSI
After installation test, open command line,c:\users\iris804> node>console.log ("hello") output hello undefined
Installing the node. JS Package Manager (Expre
the online registration code.If you don't like the theme of Webstorm, you can select File→settings→appearance→theme and choose the theme you like.If you don't like the Webstorm font, you can select File→settings→editor→colors Fonts and choose your favorite theme name:Open Colors Fonts, select Font, click the Save As button, and in the pop-up box, enter the file name of the font you saved: Click OKSet the font size and move the fonts from the left box to the right through the small triangles,
Node. js blog instance (9) Tag and tag page
Each article has a maximum of three tags (less than three tags can also be). When you click the link on the left-side tab of the home page, you can jump to the tab and list all existing tags. When you click any tag link, go to this tab and list all articles with this label.
First, we can add tags to the article.
Open p
Tags: build complete version module name targe Modules INI MonLearning JS also has a period of time, ready to try to write a blog project, the front and back end of the development, the backend with node only provide data interface, the front end with vue-cli scaffolding, routing also by the front-end control, data asynchronous interaction with Vue a plug-in vue-
The third chapter of the original tutorial Https://github.com/nswbmw/N-blog/wiki/_pagesThere are three ways to upload files now:Use Express's own file upload feature, no database involvedUse formidable external module, no database involvedUploading to MongoDB, involving the databaseHere you use the first, the user will file, stored in: blog/public/images/folder.Blog/views/header.ejs in Index.js Add code:Fs=
One, nonsensefrom January 13 to the development of MongoDB, the development of tourism labeling services, micro-blog Tag search system, Map services, web App services ... A scenario using MongoDB was transferred from the. NET, Java environment to the node. JS platform. The more you find that
Node. js blog instance (11) Article search function
Now we will add the article search function for the blog, that is, fuzzy search for the article title based on the keyword, and the letters are case insensitive.First, modify header. ejs and add a line of code before it:
Add a style row in style.css:
.search{borde
Node. js blog instance (10) pv statistics and message statistics
In post. js, modify var post = {...} To (after each change, clear e:/mongodb/blog ):
// Document var post = {name: this. name, time: time, title: this. title, post: this. post, tags: this. tags, comments: [],
Express:https://github.com/petecoop/generator-expressInstalling node. js and NPMPerform:NPM Install-g yoNPM install-g generator-expressExecution: YoThe project was created successfully.Catalog of projects:Brew Installation: MongoDbhttp://blog.csdn.net/moumaobuchiyu/article/details/54885306Http://www.cnblogs.com/junqilian/p/4109580.htmlThis error occurred: (no MongoDB installed)To install MongoDB with brew:B
KOA was created by Express's original squad and is committed to becoming a smaller, more expressive, and robust WEB framework. Writing Web applications using KOA, by combining different generator, eliminates the duplication of tedious callback function nesting and greatly improves the efficiency of error handling. KOA does not bind any middleware in the kernel method, it simply provides a lightweight and elegant library of functions, making it handy to write WEB applications.Note: KOA is a next-
Recently using node. js and WebSocket wrote an online chat room, looking for a support node. js and support WebSocket free platform deployment up, my personal blog site is deployed on Sina SAE, but Sina SAE does not support
Use Node. js to compile cross-platform spawn statements.
Preface
Node. js is cross-platform, that is, it can run on Windows, OSX, and Linux platforms. Many Node.
Raneto is a free, open source node. js repository platform, based on static Markdown file implementations. Raneto can be called a static Web site builder because it does not require database support. All content is stored in the Markdown folder, and the structure and content of the entire knowledge base are generated by Raneto.Related articles that may be of inte
"Course content"00 pre-Class preview content01 setting up an HTTP serviceFoundation of the Base ExpressMVC in the Geneva ExpressMongoDB RealMongoosenode. JS Asynchronous Best Practices07 Error Handling and Logging08 Authentication09 Reptile System Preliminary10 authentication and Reptile Combat 1redis+ Reptile Combat12 managing crawler processes with PM213 Recommended System Preliminary14 Micro Service preliminary and actual combat15 Deploying service
from the current technical point of view.1. Install the Redis database. Download the installation package to the official website.http://redis.io/here should be 2.6.10 version.$tar-XZVF redis-2.6.10.tar.gz$CD redis-2.6.10$make$make InstallOK now you can test it with Redis's own client.Run Redis server First$redis-server$redis-CLI>redis 127.0.0.1:6379> Set Zyq ' is a good mans 'Redis 127.0.0.1:6379>get ZyqShow ' is a good man ' OK, everything worksTo install the Redis driver module for
1.EDP: Enterprise-Class development platform based on node. JS and NPMWhat is EDP?EDP is a development platform for enterprise-class front end applications based on node. JS and NPM. Used primarily by the command line. EDP provide
Web AppsExpress is a minimalist, flexible Web application Development framework based on the node. JS platform that provides a range of powerful features to help you create a wide variety of web and mobile device applications.ApiRich HTTP shortcuts and any combination of Connect middleware make it fast and easy to create robust, friendly APIs.PerformanceExpress d
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.