Commit Graph

1262 Commits

Author SHA1 Message Date
Mikwk a7a0e4bf12 Added CommentView class along with autogenerated Json (de)serialization.
Cleaned code in post.dart for it to be more readable.
Moved ParseDateFromJson static method from PostView to UtilityClass in utility.dart, because it's also used by CommentView class.
2020-08-05 17:33:59 +02:00
Mikwk cf09486479 TODO:
Add methods and fields for comments associated with post.
2020-08-05 17:03:21 +02:00
Mikwk b5e8620931 Implemented PostView class.
Added auto generated JSON (de)serialization of PostView class by json_serializable package.
Added required packages and dependencies in pubsec.yalm:
 - json_annotation: ^3.0.1,
 - json_serializable: ^3.3.0,
 - build_runner: ^1.10.0.
TODO:
Implement ParseDateFromJson static method in PostView class.
2020-08-05 13:17:52 +02:00
krawieck a54325649f removed unneeded `jwt` variable from `LemmyAPI` 2020-08-04 17:49:46 +02:00
krawieck f75bc05a01 Add `search` and `listCategories` #6
Add endpoints for:
* `GET /categories`
* `POST /search`
2020-08-04 17:27:44 +02:00
krawieck 1c8394549b Add barebones of user endpoint 2020-08-04 16:41:07 +02:00
Filip Krawczyk 1e1b3f2469
Merge pull request #5 from krawieck/ci 2020-08-02 20:59:18 +02:00
shilangyu fdfa6a55c1 added CI badge 2020-08-02 19:28:42 +02:00
shilangyu 19dbe8cf38 fixed linting issue 2020-08-02 19:27:06 +02:00
shilangyu 69516f461a Added linter and CI setup 2020-08-02 19:26:57 +02:00
krawieck 93c06ce212 Update readme 2020-08-02 13:54:50 +02:00
krawieck 58c70d715a first commit 2020-08-02 13:34:42 +02:00