This is an app to search for Marvel characters with Marvel API. Take a look here.
- Vite
- React
- TanStack Query (react-query)
- Typescript
- styled-components
- Marvel API
Inside this project, you'll see the following folders and files:
/
βββ public/
β βββ favicon.png
βββ src/
β βββ assets/
β β βββ logo.png
β βββ components/
β β βββ Card/
β β βββ index.tsx
β βββ contexts/
β β βββ Context.tsx
β βββ hooks/
β β βββ useHooks.tsx
β βββ layouts/
β β βββ Layout.tsx
β βββ pages/
β β βββ Home/
β β β βββ index.tsx
β β βββ router.tsx
β βββ providers/
β β βββ Provider.tsx
β βββ styles/
β β βββ Styles.tsx
β β βββ Theme.tsx
β βββ types/
β βββ type.ts
βββ package.json
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm dev |
Starts local dev server at localhost:5173 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm lint |
Scan for erros and warning with ESLint |