Skip to content

jeneser/douban-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Douban Back-End

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
  • Query user
    • Path : /user/:id
    • Method : GET
    • Status : 200

For detailed explanation on how things work. Please read the source code. Next step : Perfect API document

License

MIT Copyright (c) 2017 Jeneser

About

Awesome douban DEMO Back-End created with Express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published