Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 2.08 KB

README.md

File metadata and controls

90 lines (58 loc) · 2.08 KB

Challenge Yobetit - Backend (NodeJS + ExpressJS) and Frontend (React + Redux)

BACKEND (NodeJS + ExpressJS)

How to run

API

GET - /countries

Return an array [] with all countries

Reference

GET - /countries?names={name}

Return an object {} with the closest item from the query

Reference

GET - /countries?names={name},{name}

Return an array [] with all match countries

Reference

Packages

Warning: import "postman-collection.json" to the Postman


FRONTEND (ReactJS + Redux)

UI: Material UI

https://material-ui.com

Middlewares

How to run

How to run

  • npm install / yarn
  • npm run start / yarn start
  • Endpoint: http://localhost:3333
  • Edit REACT_APP_API_URL on frontend/.env with the API URI

Packages