Giter Club home page Giter Club logo

mvst-challenge's Introduction

MVST Challenge

Task's description

  1. Reflect the Design
  2. Render two lists (coffee and tea) with the Backend data

How to run

| Node.js 18.*

  1. pnpm i or npm i
  2. pnpm dev or npm run dev

Implementation details

The task is implemented with Next.js, MongoDB and Tailwind CSS, meaning it is a Headless architecture without a classic Backend setup.

The repo was kickstarted using pnpm create next-app.

This is the data structure for coffee. It is the same for tea, but without tags:

coffee data structure

Things I would do next

  • Test, that we receive data and that it is in a proper format using Vitest and c8 for coverage
  • e2e test, if required, to make sure the app behaves as intended
  • Implement Loading state just in case and Error states/messages to show to a user, if something goes wrong
  • Divide fetch logic into utility-first approach. You can find a comprehensive example of how I did it in another project by going through this link
  • Moving all text and static data into .json files in a separate folder to be able to translate it and change with ease. Potentially, move it to a Headless CMS

mvst-challenge's People

Contributors

vminev avatar

Watchers

Vlad Gerasimovich 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.