This project uses Marvel API for characters, listing on homepage all available characters and provides a search tool for the user, based on character starting name string.
You can access the deployed app here
First of all, you will need a Marvel developer account API key from here
and then create a .env file or set the environment variable named NEXT_PUBLIC_API_PUBLIC_KEY (.env.example file is on this repo root).
After that, make sure you have:
pnpm>= 7nodejs>= 14
The codebase contains the following:
nextjsto build the application, fully responsive, functional components and routing@material-uias primary visual components librarystyled-componentsfor customizationprettierfor code formatting- and many other tweaks as absolute imports, commit hooks, service layers and ci build check
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production.
It correctly bundles React in production mode and optimizes the build for the best performance.
Run unit tests for some components.
srccomponents: reusable componentscontext: application contexthooks: custom hooks implementationpages: application pagesservice: api service layerutils: general js files