Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viniciuscosta89/wefit-frontend-test
WeFit Front-end Test
https://github.com/viniciuscosta89/wefit-frontend-test
axios framer-motion react react-query react-router styled-components typescript vite
Last synced: 17 days ago
JSON representation
WeFit Front-end Test
- Host: GitHub
- URL: https://github.com/viniciuscosta89/wefit-frontend-test
- Owner: viniciuscosta89
- Created: 2023-08-09T19:34:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-09T20:31:25.000Z (over 1 year ago)
- Last Synced: 2024-11-19T16:54:56.591Z (3 months ago)
- Topics: axios, framer-motion, react, react-query, react-router, styled-components, typescript, vite
- Language: TypeScript
- Homepage: https://wefit-frontend-test-viniciuscosta89.vercel.app/
- Size: 298 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeFit Front-end Test
This is a solution to the [WeFit](https://wefit.com.br) Front-end Test
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [Useful resources](#useful-resources)
- [Author](#author)## Overview
### The challenge
Users should be able to:
- Home: Onde ele terá que fazer uma requisição na API, trazendo assim, a lista de filmes quem podem ser adicionados ao carrinho.
- Carrinho: Onde ele poderá ver os itens que foram adicionados, somando o valor total com base em cada item adicionado, podendo remover um item do carrinho. Por padrão, se o carrinho tiver nenhum item adicionado, deverá aparecer a tela de empty com a opção de voltar para tela inicial.
- Compra realizada: Após confirmar o pedido na tela anterior, o usuário deverá ser encaminhado para a tela de pedido confirmado. Aqui o usuário também terá a opção de voltar para tela inicial.### Screenshot
![Mobile](./screenshot-mobile.jpg)
![Desktop](./screenshot-desktop.jpg)### Links
- Live Site URL: [https://wefit-frontend-test-viniciuscosta89.vercel.app/](https://wefit-frontend-test-viniciuscosta89.vercel.app/)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- [pnpm](https://pnpm.io) - Fast, disk space efficient package manager
- [React](https://react.dev) - JS library
- [React Router](https://reactrouter.com/) - Declarative routing for React
- [Vite](https://vitejs.dev) - Frontend Tooling
- [TanStack Query](https://tanstack.com/query/latest/docs/react/overview) - Powerful asynchronous state management
- [Typescript](https://www.typescriptlang.org) - JavaScript with syntax for types
- [styled-components](https://styled-components.com) - CSS-in-JS
- [Axios](https://axios-http.com/) - Promise based HTTP client for the browser and node.js
- [Framer Motion](https://www.framer.com/motion/) - A production-ready motion library for React### Useful resources
- Documentations from React, TanStack Query, styled-components, Vite, Axios, Framer Motion and React Router.
## Author
- GitHub - [https://github.com/viniciuscosta89](https://github.com/viniciuscosta89)
- Frontend Mentor - [@viniciuscosta89](https://www.frontendmentor.io/profile/viniciuscosta89)## Project Setup
```sh
pnpm install
```### Compile and Hot-Reload for Development
```sh
pnpm dev
```### Type-Check, Compile and Minify for Production
```sh
npm build
```