- Proyecto de una app de notas, realizado en la Avalith Skill Factory de React.
Uno de nuestros clientes necesita resolver una situación pero aún no se decide con qué tecnología hacerlo. No obstante y para optimizar los tiempos, te encomendamos lo siguiente:
-
Deberás crear un nuevo proyecto de React utilizando el CLI de CRA.
-
La aplicación, en principio, debe contar con tres componentes principales, además de App:
o Task
o TaskList
o TaskForm
-
En esta ocasión, el cliente ha decidido solicitar que cada archivo .js (o .jsx) tenga su propia hoja de estilos, por lo que deberás alojarlas en una carpeta llamada styles.
-
Deberás elegir una imagen que será la cabecera del producto. Esta imagen, por el momento, será a elección y te indicaremos dónde colocar cuando se presente el mockup
-
Cada tarea deberá tener un ID único. Como aún no está preparado el backend, deberás resolver este problema para que luego solo quede la integración por resolver.
-
Estamos trabajando con los mejores estándares de codificación por lo que necesitamos que todo esté escrito con las implementaciones de ECMA6 y posteriores (funciones, destructuring, entre otros).
-
Antes de que nuestro cliente se decida con qué tecnología trabajar, deberás conectar los componentes y sus eventos por medio de props. Veremos cómo manejar esto más adelante.
-
Este proyecto debe permitir crear nuevos ítems, debe permitir borrarlos y debe generar algún cambio en la UI cuando estén completos. El cliente está evaluando la posibilidad de hacer un update del proyecto hacia un CRUD pero aún no nos ha solicitado nada al respecto.
-
Por último, deberás implementar un formulario, el cual estará vinculado con la creación de los ítems. No olvides crear un handler para guardar esa información y mostrarla en la UI
-> Debe ser responsivo
¡Éxitos y te mantenemos al tanto de las nuevas features por desarrollar!
-
Crea una carpeta en tu computadora
-
Abri tu terminal en esa nueva carpeta
-
Clonate el proyecto con:
git clone https://github.com/eugenia1984/note-app.git .
-
Ingresa dentro de note-app:
cd note-ap
-
Instala todas las dependencias del proyecto con :
npm install
-
Ve el proyecto en tu navegador con:
npx start
Seguime en: LinkedIn - maria-eugenia-costa
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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.
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.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify