Awesome douban DEMO created with Vue2.x + Vuex + Vue-router + Superagent
MIT License
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
Douban Api V2
https://api.douban.com/V2/
/event/list?loc=108288&count=&start=
/event/id
/movie/in_theaters?count=
/movie/coming_soon?count=
/movie/top250?count=
/movie/subject/id
/book/search?q=&count=
/book/id
/book/search?q=
/movie/search?q=
/music/search?q=
Mock Douban Backend
https://douban.herokuapp.com/user/
/user
POST
/user/:id
GET
For detailed explanation, checkout the Douban Api V2 and Douban Backend
.
build
build.js
check-versions.js
dev-client.js
dev-server.js
utils.js
vue-loader.conf.js
webpack.base.conf.js
webpack.dev.conf.js
webpack.prod.conf.js
config
dev.env.js
index.js
prod.env.js
index.html
LICENSE
package.json
README.md
src
App.vue
assets
avatar.png
book_zw.jpg
camera.svg
douban-app-logo.png
pen.svg
promotion_bg.jpg
user_normal.jpg
components
Banner.vue
Card.vue
DownloadApp.vue
Group.vue
HeaderBar.vue
List.vue
Rating.vue
Scroller.vue
Marking.vue
SubNav.vue
Tags.vue
Types.vue
UserBar.vue
main.js
router
index.js
store
index.js
modules
activities.js
book.js
group.js
movie.js
search.js
subject.js
user.js
views
BookView.vue
DetailView.vue
GroupView.vue
HomeView.vue
LoginView.vue
MovieView.vue
PagesView.vue
RegisterView.vue
SearchView.vue
StatusView.vue
SubjectView.vue
TalionView.vue
static
logo.png
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature