Example project of the consumption of an API, using React, TypeScript, SCSS Module and Docker.
-
Problems found:
- CORS - Resolved using proxy in package.json
- Node.js 10+
npm install
npm start
docker build -t movies-app .
docker run -p 3000:3000 -d movies-app
npm run test
start
- Starts development serverbuild
- Builds the application assets for productiontest
- Runs all unit testslint
- Run lint