/my_superteam

CREDENTIALS: challenge@alkemy.org , react. Proyecto en ReactJS para Alkemy. La version subida a Vercel es el branch Standalone, que no conecta con la API de Alkemy y habilita otros usuarios de prueba.

Primary LanguageJavaScript

SuperTeam.

19-08-2021 Challenge para Alkemy | React + SuperHero API


Sobre el proyecto

Librerias

  • Axios
  • Node-Sass
  • React JS
  • React Router
  • Firestore Firebase

Funcionalidades

Featuring: UI

  • Responsive en desktop, mobile portrait y landscape.
  • Glassmorphist design.
  • Se incorporo un indicador de carga en secciones donde correspondiera.
  • Se incorporaron animaciones y transiciones en buena parte del sitio para suavizar las vistas y cambios.
  • El equipo del usuario se guarda automaticamente con cada edicion y el mismo es recuperado al refrescar la pagina o iniciar sesion.
  • Se manipulan las excepciones en tipo de dato (Ej: xPowerStat = 'Null') y errores 404 de imagenes.
  • Header
    • Sin iniciar sesion mostrara solo logo.
    • Se añade un estilo al navbar segun la pagina en la que se encuentre el usuario.
    • Se muestra el nombre de usuario y el boton accesible para cerrar la sesion.
    • Version mobile con menu clickeable + desplegable
  • Footer
    • De acuerdo a tu ubicacion te lleva a home o a search .
    • Al scrollear puede llevarte a top.
    • Aporta datos de la composicion de tu equipo por alignment y tambien cuando se llega al tope de heroes.
  • Home
    • Administra tu superteam.
    • Ve el resumen de powerstats totales y promedios.
    • Ordena tus heroes de acuerdo a sus diferentes caracteristicas.
    • accede a los detalles de tu heroe para conocer mas de tu equipo.
  • Busqueda
    • La busqueda de heroes se realiza mientras tecleas, recibes tambien un indicador de cantidad de resultados.
    • Oculta y muestra rapidamente el cuadro de busqueda.
    • Puedes ordenar la lista de heroes encontrados de acuerdo a diversas caracteristicas.
    • Los heroes muestran a simple vista su alignment mediante el color de su borde y botones.
    • Puedes acceder a la informacion del heroe clickeando su nombre .
    • Agrega o quita de tu equipo a un heroe desde la busqueda.
    • Clickea sobre la imagen de un heroe para ver sus powerstats, o activa la opcion para que esto se realice al pasar encima con el puntero.
    • Puedes navegar entre secciones sin perder tu ultima busqueda.

Featuring: Funcional
  • Contexts:
    • User Session Manager: Para ayudar a restringir el acceso solo a usuarios registrados con sesion iniciada.
    • SuperTeam Manager: Administra estadisticas o haz ediciones sobre tu equipo.
    • Search Holder: Mantiene tu ultima busqueda de heroes.
  • Routing (React Router):
    • /login : Iniciar sesion.
    • /home : Panel de usuario, el usuario vera a los heroes y su informacion ademas de un resumen del equipo.
    • /search : Pagina de busqueda de heroes.
    • /hero/{heroId} : Vista detallada de un heroe.

Default CRA Readme

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify