Kickstart template v1.9.0

Copyright (c) 2024 Sergio Ridaura.

Descripción

Plantilla Kickstart para los desarrollos de mi sitio web.

TypeScript AssemblyScript Astro React Tailwind Node MySQL

Plantilla desarrollada con Astro, que incluye renderizado estático (SSG), renderizado del lado del cliente (CSR) y renderizado del lado del servidor (SSR), con integración de TypeScript, Tailwind CSS, React.js, Node.js, MySQL y AssemblyScript.

Para el desarrollo versátil de una amplia gama de sitios web y aplicaciones web, incluidos blogs, páginas de destino, sitios informativos, portafolios, redes sociales, comercio electrónico, juegos web, aplicaciones de línea de comandos (CLI), módulos de exportación, API REST, entre otros.

Nuevo proyecto

Clonar el proyecto con Git o use GitHub con esta plantilla.

git clone https://github.com/sergio-ridaura/kickstart-template

Adapte los archivos README.md, LICENSE, docker-compose.yml, package.json, .env y env.prod a sus necesidades.

Inicie el contenedor con Docker Compose.

docker-compose up -d

Acceda al contenedor Node.js. Por ejemplo:

docker exec -it kickstart-templete_node bash

Actualice Npm y Node.js.

npm update -g npm
npm install -g n
n lts

Agregar dependencias del proyecto.

npm install

Si es necesario, repare los permisos del usuario.

sudo chown -R $USER .

Desarrollar

Comando de desarrollo.

npm run dev

Visite la página http://localhost:4321/ para ver el resultado.

Vista previa

Construya la aplicación.

npm run build:local

Ejecute la aplicación construida.

npm run preview

Visita la página https://localhost/ para ver el resultado.

Implementar en el servidor

Clona el proyecto con Git, por ejemplo:

git clone https://github.com/sergio-ridaura/kickstart-template

Actualice Npm y Node.js.

npm update -g npm
npm install -g n
n lts

Agregar dependencias del proyecto.

npm install

Adapta el archivo .env y .env.prod a tu sitio.

PUBLIC_SITE=https://localhost
PUBLIC_DOMAIN=localhost
PUBLIC_ADAPTER=server

Build the application.

npm run build

Run the built application.

npm run start

Visite la página para ver el resultado, por ejemplo: http://localhost/.

Implementar en Netlify

Adapta el archivo .env y .env.prod a tu sitio.

PUBLIC_SITE=https://kickstart-template-demo.netlify.app
PUBLIC_DOMAIN=kickstart-template-demo.netlify.app
PUBLIC_ADAPTER=netlify

Las variables de entorno privadas deben gestionarse desde las herramientas de Netlity.

Implementar en Vercel

Adapta el archivo .env y .env.prod a tu sitio.

PUBLIC_SITE=https://kickstart-template-demo.vercel.app/
PUBLIC_DOMAIN=kickstart-template-demo.vercel.app
PUBLIC_ADAPTER=vercel

Las variables de entorno privadas deben administrarse desde las herramientas de Vercel.

Autor

Desarrollador full stack: TypeScript, AssemblyScript, Astro, React, Tailwind, Node y MySQL.

TypeScript AssemblyScript Astro React Tailwind Node MySQL

Desarrollo rápido de aplicaciones y sitios web de alto rendimiento.

Email GitHub LinkedIn

MIT License

Copyright (c) 2024 Sergio Ridaura.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.