Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

La Bukstore Editorial 😸📕 #305

Closed
wants to merge 101 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
5f91bc1
first commit
th3alexdev Aug 17, 2023
45a3958
Add icons
th3alexdev Aug 18, 2023
c72e5fa
Add initial React setup and BooksProvider context
th3alexdev Aug 18, 2023
42c8dd4
Implement BooksProvider context for managing book data
th3alexdev Aug 18, 2023
78603bc
Implement FiltersProvider context for managing book filters
th3alexdev Aug 18, 2023
a537221
Create main App component with FiltersProvider and basic layout
th3alexdev Aug 18, 2023
ae3807f
Add sample book data
th3alexdev Aug 18, 2023
ac0a725
Add additional books data
th3alexdev Aug 18, 2023
b591872
Create service to fetch book data
th3alexdev Aug 18, 2023
ac0c14a
Create component for search books
th3alexdev Aug 18, 2023
ec042d3
Create component for displaying filtered book list
th3alexdev Aug 18, 2023
7c8afc1
Add custom styles
th3alexdev Aug 18, 2023
18fc7c8
Add loader styles
th3alexdev Aug 18, 2023
bb02334
Update configuration for color scheme
th3alexdev Aug 18, 2023
3cb4238
Add UserSavedBooks component and useSidebar hook
th3alexdev Aug 18, 2023
f0d4093
Update component styles
th3alexdev Aug 18, 2023
d5a89e8
Add custom hook for managing sidebar state
th3alexdev Aug 18, 2023
9e998a0
Add Loader component
th3alexdev Aug 18, 2023
094b04f
Add icon components
th3alexdev Aug 18, 2023
b857818
Implement FIlters component with page range and genre filtering
th3alexdev Aug 18, 2023
164cfe4
Add saved books icon and sidebar toggle functionality
th3alexdev Aug 18, 2023
1254109
Add useEffect to control body overflow based on sidebar visibility
th3alexdev Aug 20, 2023
ee4ab62
Refactor component to use custom hook for range handling
th3alexdev Aug 20, 2023
10558d6
Updated to include FlipCounter and ajust button structure
th3alexdev Aug 20, 2023
dc00cb1
Adjust size of CloseIcon
th3alexdev Aug 20, 2023
e325efe
Adjust position of add book button for better alignment
th3alexdev Aug 20, 2023
5bc136f
Add react-flip-numbers dependency
th3alexdev Aug 23, 2023
393c886
Add react-flip-numbers dependency
th3alexdev Aug 23, 2023
93e8349
Add UserListProvider to App
th3alexdev Aug 23, 2023
d3256f0
Fix Filters title color
th3alexdev Aug 23, 2023
f86a935
Update component with user saved books count
th3alexdev Aug 23, 2023
005b1d8
Refactor and rename icons
th3alexdev Aug 23, 2023
e72396a
Add book addition functionality and display error messages
th3alexdev Aug 23, 2023
b7b69b9
Improve error handling
th3alexdev Aug 23, 2023
5902cb4
Enhance error handling
th3alexdev Aug 23, 2023
9119aa0
Update background color and text style
th3alexdev Aug 23, 2023
6612cf2
Adjust color palette
th3alexdev Aug 23, 2023
3e18243
Remove unnecessary icons
th3alexdev Aug 23, 2023
41ae2bd
Refactor context provider and grid layout
th3alexdev Aug 26, 2023
1f2dca2
Adjust responsive design and styling
th3alexdev Aug 26, 2023
2255a3d
Improve search functionality and layout
th3alexdev Aug 26, 2023
5680df3
Adjust icon sizes and paths for display
th3alexdev Aug 26, 2023
d605973
Improve book list layout and adapt grid for component
th3alexdev Aug 26, 2023
f6cac72
Incorporate saved book filtering
th3alexdev Aug 26, 2023
30d388b
Customize scrollbars
th3alexdev Aug 26, 2023
236c1f7
Add custom breakpoints
th3alexdev Aug 26, 2023
e33347e
Add new context
th3alexdev Aug 28, 2023
439a044
Add new files
th3alexdev Aug 28, 2023
592e4ce
Add constant file
th3alexdev Aug 28, 2023
623e781
Add new assets
th3alexdev Aug 28, 2023
e62e016
Update language and title
th3alexdev Aug 30, 2023
6325974
Refactor structure and components
th3alexdev Aug 30, 2023
cd1b4af
Update brand name
th3alexdev Aug 30, 2023
2f37461
Refactor layout and functionality
th3alexdev Aug 30, 2023
a9dade3
Refactor layout and components
th3alexdev Aug 30, 2023
8b46b72
Add ExternalLink icon
th3alexdev Aug 30, 2023
3736e66
Adjust layout position
th3alexdev Aug 30, 2023
140c778
Modify color definitions
th3alexdev Aug 30, 2023
827ecac
Remove component
th3alexdev Aug 30, 2023
a9c20a6
Add new components
th3alexdev Aug 30, 2023
7e0c890
Refactor sidebar behavior and layout
th3alexdev Aug 31, 2023
96bb8f4
Update styling for Brand component
th3alexdev Aug 31, 2023
c8422c0
Adjust responsive design
th3alexdev Aug 31, 2023
4841bfe
Refactor layout structure and responsive design
th3alexdev Sep 1, 2023
dae64cc
Adjust responsive design
th3alexdev Sep 1, 2023
aef5014
Styling adjustments
th3alexdev Sep 1, 2023
db1048a
Add custom hook
th3alexdev Sep 1, 2023
bffe25c
Adjusted responsive breakpoints
th3alexdev Sep 1, 2023
35de603
Add loadSavedBooks method
th3alexdev Sep 2, 2023
c0174b9
Enhance filtering logic
th3alexdev Sep 2, 2023
9c296eb
Add jsdom, vitest, testing-library and jest-dom dependencies
th3alexdev Sep 4, 2023
1df1564
Modified the error condition to check the presence of an error
th3alexdev Sep 4, 2023
9bda4bd
Update Vite configuration
th3alexdev Sep 4, 2023
9ac5a71
Add Jest configuration file
th3alexdev Sep 4, 2023
e7c70b8
Add Jest test file for ListOfBooks component
th3alexdev Sep 4, 2023
1db0403
Add Jest test setup file
th3alexdev Sep 4, 2023
3394467
Add README
th3alexdev Sep 5, 2023
d080e74
package-lock
th3alexdev Sep 5, 2023
8a2ddc3
Modify demo link
th3alexdev Sep 6, 2023
d0bdd27
Add favicon
th3alexdev Sep 6, 2023
bb7584e
Add some dependencies
th3alexdev Sep 6, 2023
6459bbd
Add some dependencies
th3alexdev Sep 6, 2023
b0d3fb1
Rename file to .cjs
th3alexdev Sep 6, 2023
6178fb6
Add postcss config file
th3alexdev Sep 6, 2023
5cb62cf
Add favicon files
th3alexdev Sep 6, 2023
a3a83c8
Update favicon file paths
th3alexdev Sep 7, 2023
f49dd49
Update package version and dependencies
th3alexdev Sep 7, 2023
610e5ec
Simplify and update tailwind config
th3alexdev Sep 7, 2023
248b9b9
Update favicon files
th3alexdev Sep 7, 2023
ebd980d
Move css file import
th3alexdev Sep 7, 2023
07ac380
Update CSS rules
th3alexdev Sep 7, 2023
d2b0c0f
Update package
th3alexdev Sep 8, 2023
8a7707a
Refactor layout structure
th3alexdev Sep 14, 2023
9381501
Adjust for responsive design
th3alexdev Sep 14, 2023
33e1add
Enhance functionality
th3alexdev Sep 14, 2023
7a8a783
Update asset paths
th3alexdev Sep 14, 2023
d1edc06
Simplify FiltersProvider logic
th3alexdev Sep 14, 2023
a43219e
Refactor for improved functionality
th3alexdev Sep 14, 2023
024529d
Add custom fonts
th3alexdev Sep 15, 2023
175b871
Adjust styles
th3alexdev Sep 15, 2023
dfa24dd
Update README.md
th3alexdev Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions pruebas/01-reading-list/th3alexdev/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
56 changes: 56 additions & 0 deletions pruebas/01-reading-list/th3alexdev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# La Bukstore 📕
La Bukstore es una editorial en donde creemos en la magia de los libros para transportarnos a lugares lejanos, desafiar nuestras perspectivas y nutrir nuestra imaginación.

¡Nuestra misión es fomentar la lectura y el amor por los libros, proporcionando a los lectores una amplia gama de títulos de diversos géneros literarios!

[**Probar Demo**](https://la-bukstore.vercel.app/)
<img width="100%" alt="screenshot" src="https://cdn.discordapp.com/attachments/606233142021324816/1148754094757007380/la-bukstore.jpg">

# Sobre el proyecto ❔

### Objetivos obligatorios:
- [x] Mostrar libros en la UI
- [x] Agregar libros a lista de lectura
- [x] Filtrar libros por género
- [x] Sincronización de estado (estado global)
- [x] Persistencia de datos
- [x] Sincronización entre pestañas
- [x] Despliegue.
-


# ¿Qué he aprendido? 👨‍💻
- Durante el desarrollo de este proyecto, he adquirido experiencia en algunos temas como:
- Manejo correcto y centralizado del estado.
- Creación y reutilización de componentes.
- Diseño web responsive.
- Uso de custom hooks.

# Tecnologías usadas 💛
```javascript
React - JavaScript - Tailwind CSS - Vitejs
```

# Dependencias 📦
`react-flip-numbers` - Hace que las animaciones de los números se vea cool. 🎰
`vitest` - Librería para hacer test usando Vitejs.
`react-icons` - a collection of popular icons for React applications.
`autoprefixer` - Plugin para automatizar la adición de prefijos propietarios a los estilos.

# Instalación 💻
Para correr este proyecto localmente en tu pc, necesitarás Node.js y npm instalados en tu computadora. Una vez los tengas, puedes ejecutar los siguientes comandos.
```
npm i la-bukstore
npm run dev
```

Alternativamente, puedes clocar directamente el repositorio usando el siguiente comando:
```
git clone https://github.com/th3alexdev/pruebas-tecnicas.git
```

# Contribuciones 🎉
Acepto contribuciones para arreglar algunos bugs que se puedan presentar en el estado de la aplicación. Si quieres contribuir, simplemente hazle fork a este repositorio, haz los cambios y simplemente envias una pull request. 🤘

# Sobre el creador
Mi nombre es Alexander Pérez. Soy un desarrollador web Front-end con pasión en crear agradables experiencias de usuarios. Si tienes alguna pregunta o segurencia sobre este proyecto, puedes contactarme a través de mis redes sociales.
20 changes: 20 additions & 0 deletions pruebas/01-reading-list/th3alexdev/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>La Bukstore - Tus libros favoritos</title>

<link rel="apple-touch-icon" sizes="180x180" href="public/assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="public/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="public/assets/favicon-16x16.png">
<link rel="manifest" href="public/assets/site.webmanifest">
<link rel="mask-icon" href="public/assets/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
7 changes: 7 additions & 0 deletions pruebas/01-reading-list/th3alexdev/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('jest').Config} */
const config = {
verbose: true,
transform: {}
}

export default config
Loading