BlogChain is a blog platform running on iOS which hosts its blogs on the blockchain. By doing so, it is easier to protect the intellectual property and may extend the life-hood of articles (as long as at least one copy exists in the network).
Install Vapor
brew tap vapor/tap
brew install vapor/tap/vapor
Execute following commands in /server
folder
vapor build
Use the following command to create xcode project file.
vapor xcode
vapor run --port=8080
(You may run another server on a different port to see how the blockchain sync between servers.)
Install Cocoapods
sudo gem install cocoapods
Install the pods by executing the following command in the /blogchain
folder.
pod install
For the Notepad package which provides the markdown editor feature, you may need to follow this issue to fix the "theme not found" problem, since the developer has not combined the fixing solution in his main branch.
Notes support markdown!
(Each server has to register on others)
- SnapKit
- Alamofire
- Notepad
- CommonCrypto
- CodableFirebase