{"id":25397061,"url":"https://github.com/kenkyoo/blog-app","last_synced_at":"2025-04-11T00:57:29.957Z","repository":{"id":277224551,"uuid":"931736733","full_name":"Kenkyoo/blog-app","owner":"Kenkyoo","description":"Un blog dinámico que permite visualizar y crear posts, guardar favoritos y gestionar perfiles de usuario. Usa autenticación con Auth0, un backend con Express y JSON-Server, y un frontend con React y Vite. 🚀 Demo en Vivo","archived":false,"fork":false,"pushed_at":"2025-02-13T04:08:56.000Z","size":2580,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T00:57:24.192Z","etag":null,"topics":["auth0","blog","json-server","nodejs","react","tailwindcss"],"latest_commit_sha":null,"homepage":"https://blog-app-sepia-eight.vercel.app","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kenkyoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-12T19:15:31.000Z","updated_at":"2025-02-13T04:09:49.000Z","dependencies_parsed_at":"2025-02-12T20:27:27.361Z","dependency_job_id":"3f27595a-cb7a-4e6e-a6fc-bd4b21c419fb","html_url":"https://github.com/Kenkyoo/blog-app","commit_stats":null,"previous_names":["kenkyoo/blog-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenkyoo%2Fblog-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenkyoo%2Fblog-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenkyoo%2Fblog-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kenkyoo%2Fblog-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kenkyoo","download_url":"https://codeload.github.com/Kenkyoo/blog-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322614,"owners_count":21084336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth0","blog","json-server","nodejs","react","tailwindcss"],"created_at":"2025-02-15T21:37:34.642Z","updated_at":"2025-04-11T00:57:29.936Z","avatar_url":"https://github.com/Kenkyoo.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"📖 Blog con React, Vite y Express\n\nUn blog dinámico que permite visualizar y crear posts, guardar favoritos y gestionar perfiles de usuario. Usa autenticación con Auth0, un backend con Express y JSON-Server, y un frontend con React y Vite.\n🚀 Demo en Vivo\n\n🔹 Frontend en Vercel\n🔹 Backend en Render\n✨ Características\n\n✅ Autenticación con Auth0\n✅ Creación y visualización de posts\n✅ Guardar posts en favoritos\n✅ Perfiles de usuario con posts publicados\n✅ Paginación de posts\n🛠️ Tecnologías utilizadas\nFrontend\n\n    React con Vite\n    React Router DOM\n    Axios\n    TailwindCSS + DaisyUI\n\nBackend\n\n    Node.js con Express\n    JSON-Server para la base de datos\n    Axios para la comunicación con la API\n\n📥 Instalación y ejecución\n🔧 1. Clonar el repositorio\n\ngit clone https://github.com/tu-usuario/tu-repositorio.git\ncd tu-repositorio\n\n🖥️ 2. Configurar y ejecutar el backend\n\ncd server  \nnpm install  \nnpm start  \n\n🎨 3. Configurar y ejecutar el frontend\n\ncd ../app  \nnpm install  \nnpm run dev  \n\nLa aplicación estará disponible en http://localhost:5173.\n🔑 Configuración de variables de entorno\n\nCrea un archivo .env en la raíz del backend y agrega:\n\nJSON_SERVER_URL=https://tu-json-server-url.com\n\nPara el frontend, configura Auth0 en el archivo .env:\n\nVITE_AUTH0_DOMAIN=dev-tu-dominio.auth0.com  \nVITE_AUTH0_CLIENT_ID=tu-client-id  \n\n📌 Rutas de la API\n\n🔹 Obtener posts paginados:\nGET /api/posts/:page/:perPage\n\n🔹 Obtener un post por ID:\nGET /api/post?id=1\n\n🔹 Obtener posts por usuario:\nGET /api/userPosts?user_id=123\n\n🔹 Agregar un nuevo post:\nPOST /api/addPosts\n\n🔹 Actualizar favoritos:\nPATCH /api/favorites/:id\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenkyoo%2Fblog-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenkyoo%2Fblog-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenkyoo%2Fblog-app/lists"}