Giter VIP home page Giter VIP logo

beam_india's Introduction

Kanban Rasgulla

Kanban Board built using Elixir and Phoenix LiveView, using LiveView Hooks.

Kanban Rasgulla in action

Code can be found inside folder namedServer

  • Random data is generated on every new instance. Board has a few columns and column has cards.
  • Create new Card from form data.
  • Move Card from one column to Another.
  • Move card across same column(BUG).
  • Card has its own color [Classification].
  • Card move logic needs to be fixed and use index values.

Next features can be implemented in future

  • Implement Realtime Kanban board, moved card should change across all sessions.
  • create User. A user can own multiple boards.
  • Users can share boards with other users.
  • Existing Card can have button which toggles Card update form..
  • We drop Card on Card. If Card is dropped on Column/Empty column, card should be added to column, Add functionality.
  • Genserver. It was planned, data will stored in Genserver and the move card logic will be implemented in GenServer.
  • For now random data is used. After implemeting User and Kanban owners, consider integrating with a database.

Improvements needed.

  • Performance - length of data transfer on socket reply is around 5k for move card, add card. Debug to bring it down.
  • The nested Access behaviour callback - pop_in, get_and_update_in, fetch_in. Expert advice needed for improvement.

Code is inside folder namedServer

LiveView Version 0.3 <- IMPORTANT

Elixir 1.9 and Erlang 22 is Used.

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

If you wait for longer time and unending spinner is visible, need to refresh the page.

If you need anything, I am on twitter as @iamsandeshsoni



Rasgulla is a sweet dish/ Dessert. wikipedia Rasgulla photo

beam_india's People

Contributors

nikhilmore54 avatar sandeshsoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.