A Disney+ interface with React, TypeScript and consumption of a fake API with json-server
What is inside?
- ReactJS
- TypeScript
- Styled Components
- Jest
- React Testing Library
- Eslint
- Prettier
- Husky
- Swiper
- JSON Server
Getting Started
Install dependencies:
yarn
or
npm install
Run development server
yarn dev
or
npm run dev
Open http://localhost:3000 with your browser to see the result.
Run fake API
yarn json-server --watch --port 3333 server.json
Commands
dev
: run development serverbuild
: creates the production build versionlint
: runs the linter in all components and pagestest
: runs jest to test all components and pages
Made with ? by Giovanna