Douban Back-End
April 25, 2017 ยท View on GitHub
Awesome douban DEMO Back-End created with Express
Font End: Douban
Live Demo: Douban Back-End
Getting started
# install dependencies
npm install
# serve with hot reload at localhost:3000
gulp
For detailed explanation on how things work, checkout the generator-express
Deploy to heroku
# Log in to your Heroku account
heroku login
# Initialize a git repository in a existing directory
cd douban-backend/
heroku git:remote -a your-repo
# Deploy your application
git add .
git commit -am "make it better"
git push heroku master
Learn more Heroku and Heroku CLI
API
- Basic URI :
https://douban.herokuapp.com/ - Create user
- Path :
/user - Method :
POST - Status :
200
- Path :
- Query user
- Path :
/user/:id - Method :
GET - Status :
200
- Path :
For detailed explanation on how things work. Please read the source code. Next step : Perfect API document
License
MIT Copyright (c) 2017 Jeneser