Run npm install
under both frontend
and backend
directories
create a .env file under frontend
directory with following content
REACT_APP_FAVOURITES_API_URL = http://localhost:3001
REACT_APP_DICTIONARY_API_URL = https://api.dictionaryapi.dev
the frontend app run with the node backend, so backend server should be run before frontend dev server.
cd backend && npm start
cd frontend && npm start
npm run test:jest
NOTE: Please start node backend before running e2e test
npm run test:cy
cd frontend
docker build -t dictionary .
docker run -p 8080:80 dictionary
- Responsive design for small screen and mobile devices
- Loading design with spinner. Only Loading... text has been added at the moment
- More error handling design for handling api errors
- A11y improvement
- Covering more scenarios on E2E test