Project built as a front-end challenge for Tuna.
Project displays a list of components containing all regions in Brazil and states in each region where the company has operations.
To run this application locally, follow these steps:
- Open a terminal and clone the repository:
git clone https://github.com/julianastahelin/tuna-challenge.git
- Open the project in a code editor:
code .
- Set the environment variable for the API. Create a
.env.local
file and add this variable:
NEXT_PUBLIC_IBGE_API_URL='https://servicodados.ibge.gov.br/api/v1/localidades'
- Install the dependencies:
npm install
- Run the project on the terminal:
npm run dev
- Access
http://localhost:3000/
on your browser.
- Next.js
- TypeScript
- Tailwind