- git clone project
$ git clone [email protected]:minghan9456/sayhi.git
- npm install
$ cd sayhi
$ npm install
- Create constant file
$ cp ./config/constant.example.js ./config/constant.js
-
Follow google sign in guide to get google client id, then add to config/constant.js
-
Set up your server listening port
exports.PORT = 9527;
in config/constant.js. -
Set up your database info in config/constant.js.
-
Launch server
node server.js
- browse
http://localhost:9527
.