GithubHelp home page GithubHelp logo

olio-coding-task's Introduction

README

Summary

  • Used Devise to implement registration and login.
  • Please navigate to config/database.yml to set up your environment's user for mysql.
    • The 'oliouser' is there already so you need a user called 'oliouser' in mysql.
  • Upon registration, the app will load the home page where users can see a button to navigate to view all Articles.
  • In Articles, all the records will be pulled from the given server.
    • This server only allows GET requests, therefore the app can only pull info not write to it.
    • In this page, users can see a like button on every row, where they can like an Article only once.
    • Alternatively, users can click on any Article title to navigate to see more details. (more details can be added. For the coding test purposes I have included Title, Description and like count) Here you can like the article as well.
    • However you can only like the Article, not unlike. (This will be an improvement I will try myself to do outside the coding test, as liking was the only requirement on the test)
  • The article ID and the like count is persisted and updated in the database as it is not possible to write to the server.
    • Therefore the article infor will be pulled from the given server where as the like count will be pulled from the app DB.
  • Lastly, the frontend is done with Bootstrap 5.

olio-coding-task's People

Contributors

danunilminda avatar danukah avatar

Watchers

 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.