Repository files navigation
Node.js
MongoDB
Express - Web application framework for node
Mongoose - Elegant mongodb object modeling for node.js
Express-restify-mongoose - library provides mongoose database models with a REST interface.
jQuery 1.11.1
Clone the project into your workspace, then import it.
Make sure that you had installed Node.js & MongoDB .
Create folder data in project folder.
Open command prompt from MongoDB/bin(shift+right click), execute mongod --dbpath=ProjTwoServerPath/data
Open new command prompt, execute npm install in project folder to install node modules.
execute npm start or node app.js to start the server at localhost:3000
TableName
Restaurant
column name
type
remark
example
GID
OID
流水號
123456
Name
String
店家名稱
金仙排骨飯
Address
String
地址
台北市xxxxxx
Phone
String
電話
02-1234567678
Longitude
String
經度
34.12345
Latitude
String
緯度
121.3456
Introduction
String
簡介
Aircon
boolean
是否有冷氣
Stars
int
推薦星星數
1星、2星……
TableName
Menu
column name
type
remark
example
GID
OID
流水號
123456
RestaurantId
OID
店家編號
123456
Name
String
餐點名稱
魯肉飯
Price
int
價錢
35
Introduction
String
簡介
Type
String
餐點種類
飯類/麵類/飲料…
remark
String
備註
You can’t perform that action at this time.