npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@vladiip93/gestor-tareas-hogar

v1.0.0

Published

Componente Stencil para gestión de tareas del hogar

Downloads

65

Readme

Gestor de Tareas del Hogar

Vladimir Escobar

NRC: 17713

Descripción

Este proyecto es una aplicación web de gestión de tareas para el hogar que permite a los usuarios crear, leer, actualizar y eliminar (CRUD) tareas. La aplicación está construida con un frontend en Stencil y TypeScript, y un backend en Express con MySQL.

Características

  • Crear nuevas tareas
  • Visualizar lista de tareas
  • Editar tareas existentes
  • Eliminar tareas
  • Interfaz de usuario intuitiva y responsiva

Tecnologías Utilizadas

  • Frontend:
    • Stencil
    • TypeScript
    • HTML5
    • CSS3
  • Backend:
    • Node.js
    • Express
    • MySQL
  • Otras herramientas:
    • Axios para peticiones HTTP
    • CORS para manejo de solicitudes de origen cruzado

Estructura del Proyecto

home-task-manager/

frontend/

src/

components/

app-root/

task-list/

task-form/

task-item/

services/

task.service.ts

models/

task.model.ts

index.html

index.ts

package.json

tsconfig.json

stencil.config.ts

backend/

src/

routes/

  tasks.ts

models/

  task.ts

config/

  database.ts

app.ts

package.json

tsconfig.json

Instalación y Configuración

Frontend

  1. Navega al directorio frontend: cd frontend
  2. Instala las dependencias: npm install
  3. Inicia el servidor de desarrollo: npm start

Backend

  1. Navega al directorio backend: cd backend
  2. Instala las dependencias: npm install
  3. Configura la base de datos MySQL:
  • Crea una base de datos llamada home_tasks
  • Actualiza las credenciales en el archivo .env
  1. Inicia el servidor: npm run dev

Uso

Una vez que ambos servidores estén en funcionamiento:

  1. Abre tu navegador y ve a http://localhost:3333
  2. Usa el formulario en la parte superior para agregar nuevas tareas
  3. Las tareas aparecerán en la lista debajo del formulario
  4. Cada tarea tiene opciones para editar y eliminar

Componentes Principales

Frontend

  • app-root: Componente principal que estructura la aplicación
  • task-form: Maneja la creación de nuevas tareas
  • task-list: Muestra la lista de tareas y gestiona la actualización de la lista
  • task-item: Representa una tarea individual con opciones para editar y eliminar

Backend

  • app.ts: Punto de entrada del servidor Express
  • routes/tasks.ts: Define las rutas API para las operaciones CRUD
  • models/task.ts: Modelo de datos para las tareas y funciones de interacción con la base de datos
  • config/database.ts: Configuración de la conexión a la base de datos MySQL

Mejoras Futuras

  • Implementar autenticación de usuarios
  • Añadir categorías a las tareas
  • Implementar un sistema de recordatorios
  • Mejorar el diseño y la experiencia de usuario
  • Añadir tests unitarios y de integración

Repositorio de GitHub