- About
- Technologies used
- Folder structure
- Architecture
- Installation for development
- UI
- General information
Search UI coding challenge. Small application demonstrating my abilities in React and TypeScript. This challenge is targeted towards mid to senior level engineers.
Challenge repository is on GitHub
The project was developed using the following technologies
src
components/*
constants/*
helpers/*
hooks/*
screens/*
services/*
styles/*
types/*
Click here for more information about the flowchart
-
Install
package.json
dependencies using npm:npm install
-
Run server at url: http://localhost:3000
npm start
-
Run project tests:
npm test
-
Run storybook documentation:
npm storybook
- No 'Access-Control-Allow-Origin' header is present on the requested resource error to access the API locally
Solved it adding headers in the server file:
app.use(function(_, res, next) {
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept');
next();
});