This project was developed using cutting edge front-end technologies.
- ReactJS
- Next.js
- Context API
- Axios (for HTTP calls)
- Nookies (cookie helpers for Next.js)
- Styled Components
- Polished
- Prop Types
- React Hook Form
- Storybook (for component documentation)
- Eslint + Prettier (Linter and Code Formatter)
I decided to use context API, because the application only needs to work with authentication and book listing. Because the application does not have so many states that would be shared, it was not necessary to use redux.
Clone the project and access the folder
$ git clone https://github.com/diegogasparcruz/desafio-books-frontend.git && cd desafio-books-frontend
Follow the steps below
# Install the dependencies
$ yarn
# Run the web server
$ yarn dev
The app will be available for access on your browser at http://localhost:3000
Run component documentation
# Run storybook
$ yarn storybook
The component documentation will be available for access on your browser at http://localhost:6006