The p2p Goodreads!
Fritter/Beaker/everything-P2P dev Tara Vancil started a thread here about what books people were using, and Joe Hand responded here with an idea to create a P2P Goodreads, so that's exactly what this is!
Bookshelf is an app for P2P web profiles to save, review, and recommend books. For now, it won't be a full-on social network with comments, replies, etc. - take a look at Fritter for that - but it'll fill a small void in the existing P2P app library.
The main entry point for the app. Globally accessible with app
.
profile
-Profile
object referencing the current profile.
A single book. Property names from schema.org.
title
- String, display titleauthor
- String, display authorisbn
- Number, ISBNdescription
- String, display summaryrating
- Number, stars (out of 5) given to this book by the Profilereview
- String, Profile-created review
Contains a list of books.
name
- String, display namebooks
- Array, list ofBook
objects this Shelf contains,ownerUrl
- Link to Profile who owns this Shelfurl
- String, URL for this Shelf
Contains all information for a given profile. Property names from schema.org.
name
- String, display nameurl
- String,dat://
URL for this profileshelfUrls
- Array, list ofShelf
URLs this Profile ownsfollowUrls
- Array, list of Profile URLs this Profile follows
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.