Davidrami12 / stemy-tech-interview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stemy Energy technical interview - David Ramírez

🚀 How to clone this repository on local

Prerequisites

  • Node.js installed (v14 or later recommended)
  • NPM (v6 or later) or Yarn (v1.22 or later)

Installation

  1. Clone the repository
git clone https://github.com/Davidrami12/stemy-tech-interview.git
cd stemy-tech-interview
  1. Install NPM packages
npm install
  1. Run the app in the development mode
npm start
  1. Open http://localhost:3000 to view it in the browser.

Exercise 1 - SQL

Solution for exercise 1 is on route /src/database/db.sql.

There is a database dump generated by me using MySQL Workbench only for testing purposes with the given queries, the 3 main exercises are at the bottom of the sql file.

Exercise 2 - React

The front-end part was done with React + TypeScript to ensure a better static typing that helps the compiler make sure the code is stronger and solid.

It also consumes an API [PokéAPI](https://pokeapi.co/docs/v2) to simulate a Pokédex which is limited to only 20 pokemons, there is a search bar and a button to filter and order all the results (by default it's already ordered by name)

About


Languages

Language:TypeScript 69.5%Language:HTML 23.3%Language:CSS 7.2%