Skip to content

coingaming/elixir-fs-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Test Task for Elixir LiveView Developers

The candidate should build a simple polling application using Phoenix LiveView. The application should allow users to create new polls, vote in polls, and see real-time updates of the poll results. The solution should not use any external dependencies, such as a database or disk storage, and should instead store all needed data in application memory. You are free to use any Elixir/Erlang library and any open-source CSS framework for the design.

Requirements

  1. All code should be shared via private Github repository.
  2. The solution should be built with Phoenix LiveView.
  3. Users should be able to create account by inserting their username.
  4. Users should be able to create new polls.
  5. Users should be able to vote in existing polls.
  6. Users should be able to see real-time updates of the poll results.
  7. User can only vote once in a single poll.
  8. Performance: users actions should not be blocking each other. User 1 actions should not be blocked by user 2 actions.
  9. You are free to use any Elixir/Erlang library and any open-source CSS framework for the UI.
  10. The application should not use any external dependencies, such as a database or disk storage. All needed data should be stored in application memory.
  11. The application should start with mix phx.server so it can be started locally.
  12. The application should be well-structured, and the code should be readable.

Deliverables

Please provide a link to a GitHub repository containing your solution to the above task. Your solution should include:

  1. A Phoenix LiveView application that meets the above requirements.
  2. A README file that explains how to set up and run the application.
  3. Clear and concise documentation on how the application works, including any design decisions you made and any trade-offs you considered.
  4. Well-structured code that adheres to best practices and is easy to understand and modify.
  5. The core business functionality of the application must be covered by unit tests.

Evaluation Criteria

We will evaluate your solution based on the following criteria:

  1. Functionality: Does your application meet all the requirements listed above?
  2. Code quality: Is your code well-structured and easy to understand and modify? Does it adhere to best practices?
  3. Design decisions: Did you make thoughtful and well-reasoned design decisions? Did you consider trade-offs and explain your reasoning?
  4. Documentation: Is your README file clear and comprehensive? Does it include instructions for setting up and running the application? Does your documentation explain how the application works and any design decisions you made?
  5. Unit testing: Does your solution include unit tests that cover core business functionality?

Good luck!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published