Giter Club home page Giter Club logo

credible-mind's Introduction

CredibleMind Coding test

Our mission is to help everyone optimize their mental health, emotional wellbeing and spiritual growth. Here we are going to do simple version of news list page. Please read the following instruction carefully. Expected test could be finished in 3-5 hours. Welcome to raise any question.

General Instructions

  • Clone this repo
  • Start Coding!
  • Push your solution to your github account and give us access so we can check your solution

Installation

yarn install
or
npm i

How to run

Client

yarn run dev

to launch web client http://localhost:3000

Questions?

Send Email to [email protected]


Frontend test requirement

Implement news list page with search feature such as

image

a) Fetch news page config from contentful data and display

  • use contentful service provided in /lib/contentfulService.ts
  • content-type=newsConfig
  • use response data to display image, title, menu label and filter/search label dynamically. Please refer below for field mapping of text in red image

b) Fetch news data from algolia news index and display

  • use algolia service to fetch all the data, config is provided in /lib/algoliaService.ts
  • display news card as per the design (as close as possible)
  • news card field mapping is found below as text in red color image
  • display all the news card (Bonus if you add infinite scroll)

c) Implement filter/search

  • create search box as per design
  • implement search feature using algolia search, hitting search icon should update the news list based on search results
  • create a filter box following the design pattern
  • implement filter by topic title using algolia search, selecting a topic title should filter the results to the ones containing the topic on the topics.title field

d) Create news item page

  • clicking each card should redirect to news item page /news/<slug>
  • item page should display the same card ui

e) Bonus

  • implement login/signup with google using firebase with config provided in /lib/firebaseConfig.ts using next-auth
  • make the page protected if non-authenticated with logout feature
  • add display toggle between normal list and carousel
  • deploy working solution live using netlify or vercel

Worth mentioning

  • Use Material UI for ui styling (overkill for this task but it's important to be familiar with it)
  • Can specify future works if you don't have time for your implementation
  • Good commit history with detailed commit message

credible-mind's People

Contributors

syafilm avatar mouthzipper avatar lucasharada avatar marcosathanasoulis 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.