Package | Description |
---|---|
web |
Front end application created with NextJS |
ui |
React components with stories |
- Mobile first
- Carousel with all episodes of the season made with
scroll-snap
css - Dynamically loaded episodes
- Details about the episodes
- Lerna with NPM monorepo
- NextJS
- React-query
- Cypress (E2E test)
- Testing Library (Unit test)
- React Loading Skeleton
- Vitest
- Storybook
- Github actions with Release
- Component library with React
- Conventional commits
- Semantic releases
- Node >=
v18.12.1
- NPM >=
8.19.2
Create an .env
file in web
:
NEXT_PUBLIC_OMBD_API_KEY=ENTER_YOUR_OMBD_API_KEY
- Front end application: Demo
In the root folder run the following commands:
- Install dependencies
npm i
- Run the project
npm run dev
Unit tests: To run unit tests go to ui
and then run the following command:
## omdb-series/packages/ui
npm run test
E2E tests: Go to web
and then run the following command:
- Running the project
npm run dev
- Start Cypress
npx cypress open