Giter VIP home page Giter VIP logo

sophiecollard / twitter-clone Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 247 KB

Simple Twitter clone to demo building REST and GraphQL APIs using the Scala 2.13 and the Typelevel stack as well as single-page frontend applications with Elm 0.19.

Scala 97.06% Elm 2.73% HTML 0.21%
api backend cats cats-effect circe doobie elm elm-lang fp functional-programming graphql http4s rest rest-api sangria sangria-graphql scala tapir twitter typelevel

twitter-clone's People

Contributors

sophiecollard avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lookageek

twitter-clone's Issues

Like button

Acceptance criteria

Given a Tweet
Then I can see the like count for that Tweet

Given a Tweet I have not liked
When I click the like button
Then the button state changes to "liked"
And the like count is incremented by 1

Given a Tweet I have liked
When I click the like button
Then the button state changes to "not liked"
And the like count is decremented by 1

Implementation phases

  1. Show like count for each Tweet
  2. Show an authenticated user whether they have liked the Tweet they are viewing
  3. Allow authenticated user to like/unlike a Tweet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.