Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

第一個node.js練習:實作route的靜態網頁連結、處理post圖片上傳資料、留言板、MongoDB、前端用到Ajax

Notifications You must be signed in to change notification settings

mis101bird/basic-nodeJS

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-nodeJS

第一個node.js練習:
1.實作route的靜態網頁處理
2.用地三方套件處理post圖片上傳資料
3.留言板前端用Ajax
4.index.html的第二個連結有post的Ajax例子
5.含後端與資料庫mongoDB的處理
使用到的npm 第三方套件:

formidable - 解析post中的file資料
mongodb - 實作mongo資料庫的CRUD
server and route 練習

server.js處理好GET/POST的資料-有file的POST直接將request傳至loginback.js解析
route.js處理分配local文件的問題
資料庫類型:mongoDB

database:test
collections:
myboard - 存留言板的留言資料

Run the website: node server

About

第一個node.js練習:實作route的靜態網頁連結、處理post圖片上傳資料、留言板、MongoDB、前端用到Ajax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.