Skip to content

Commit

Permalink
Adding initial UI and Websocket server.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Mar 21, 2019
1 parent 064d7f8 commit 816aa0b
Show file tree
Hide file tree
Showing 28 changed files with 5,974 additions and 182 deletions.
3 changes: 0 additions & 3 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,11 @@
}
```
## Actions

- These are all posts to a user's outbox.
- The server then creates a post to the necessary inbox of the recipient, or the followers.
- Whenever a user accesses the site, they do a get from their inbox.

### Comments

#### [Create](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create)
```
{
Expand All @@ -163,7 +161,6 @@
"object": comment_id, or post_id
}
```

#### [Delete](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-delete)
```
{
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ We have a twitter alternative (mastodon), a facebook alternative (friendica), so
- [helpful diesel examples](http://siciarz.net/24-days-rust-diesel/)
- [Mastodan public key server example](https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/)
- [Recursive query for adjacency list for nested comments](https://stackoverflow.com/questions/192220/what-is-the-most-efficient-elegant-way-to-parse-a-flat-table-into-a-tree/192462#192462)
- https://github.com/sparksuite/simplemde-markdown-editor
- [Sticky Sidebar](https://stackoverflow.com/questions/38382043/how-to-use-css-position-sticky-to-keep-a-sidebar-visible-with-bootstrap-4/49111934)

## TODOs
- Endpoints
- DB
- Followers / following


Loading

0 comments on commit 816aa0b

Please sign in to comment.