Giter VIP home page Giter VIP logo

challenge-finetune's Introduction

Finetune Challenge

Food Count

Create a web app where the user has a list of everything she eats and the amount.
✅ 1 - The user should be able to add items to the list.
✅ 2 - The items are organized by day.
✅ 3 - The user can filter items by date.
✅ 4 - Each food item can have a type: Protein, Fat, or Carbohydrate.
✅ 5 - User can see a graph on the top of the list with the Item type distribution(Protein, Fat, or Carbohydrate).
✅ 5.1 - For the backend please create a way to get data for the graph.
✅ 5.2 - For the frontend please create a way to display the graph.
✅ 6 - Here in Finetune we are huge fans of tests especially TDD, so it's strongly recommended to implement the features using TDD and adding the tests first on the commit, this is optional.
✅ 7 - The user can delete items from the list.
This test has a lot of features on purpose, you should feel free to choose the ones you think will make the most impact on the user and showcase your skills.

Project details

.
├── cypress                 # Automated tests(cypress)
├── src                     # source code
   |___ components          # application components
   |___ context             # Contexts 
   |___ hooks               # Hooks
        |___tests__         # Hooks tests (react testing library)
   |___ pages               # application pages
        |___ home           # Initial Page
   |___ utils               # Utilities functions
        |___tests__         # Utilities tests (react testing library)

Screenshot

Captura de Tela 2021-09-20 às 15 53 03

Stack

Typrescript - https://www.typescriptlang.org/
Material UI - https://mui.com/
Cypress - https://www.cypress.io/ (Integration tests)
React Testing Library - https://testing-library.com/ (Unit tests)
Conventional Commits - http://conventionalcommits.org/ (commits specification)

⚡ Usage

Use bash

$ git clone https://github.com/thalesf/challenge-finetune.git
$ cd challenge-finetune
$ npm install or yarn
$ npm start or yarn start
# visit http://localhost:3000

Run tests

$ npm test or yarn test

Run on browser

$ start the project(port 3000)
$ run test:cypress
$ choose the test

Description

Frontend Challenge

Please use React or NextJS. There are no contains on libraries. TypeScript is a plus. Your focus is on the UI and not on the backend. Any API is a plus.

Backend Challenge

Please use Python (Django, Flask, or Chalice) Hasura is a plus Your focus is on the backend and not on the UI. Any UI is a plus.

The goal is to demonstrate how organized and structure your code is. Please put your code in a repository and share it with me.

challenge-finetune's People

Contributors

thalesf avatar

Watchers

 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.