Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 875 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 875 Bytes

Setup

This project has the propose to show my skills with React, in a simple way, using the best practices.

The project consists of a simple quiz, where the user can answer questions and see the result at the end.

The repo provides a React application bootstrap. To get setup, run these commands:

  • Install dependencies:
npm install
  • Run it locally
npm start:
  • Run tests:
npm run test:coverage

The command above will:

  • Start an HTTP server for the API (localhost:4000);
  • Start an HTTP server (powered by react-scripts) for the front-end (localhost:3000);

API instructions

This repository provides a basic API (running under port 4000) that returns the required data for the application. The API will be available after running the npm start command.

GET Questions List

http://localhost:4000/api/questions