Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.63 KB

README.md

File metadata and controls

71 lines (49 loc) · 1.63 KB

Capputeeno

Welcome! This repository contains my solution for Rocketseat´s open source Frontend Challenge.

prototype

🧠 About

The purpose of this project is to put into practice my knowledge in React, NextJS and TypeScript.

The challenge is to implement an e-commerce for the sale of mugs and t-shirts that should have the following functionalities:

  • Product catalog with pagination
  • Filter products by category
  • Search by product name
  • Add and remove products from cart
  • Checkout page

📋 Requirements

  • Follow this prototype
  • Use Next.js and Typescript
  • Create components with styled-components
  • consume from the provided GraphQL API

🖥️ Installation

Frontend

  1. Clone this repo
git clone https://github.com/Marki1ins/frontend-challenge.git
  1. Go to the project folder
cd challenge-frontend
cd capputeeno
  1. Install dependencies
npm install
  1. Run Frontend
npm run dev

Running the API

  1. Go to the API folder
cd challenge-frontend
cd api
  1. Install dependencies
npm install
  1. Run start
npm start