e-commerce-angular-node
e-commerce-angular-node copied to clipboard
Proyecto escolar de tienda online con Node.js y Angular
E-Commerce open source
Creado con Node.js, Angular y MySQL

Tutorial
Justo aquí: https://parzibyte.me/blog/2020/06/10/pequeno-e-commerce-angular-node-mysql-tienda-online/
Instalación
Requisitos
- Angular CLI
- Node y NPM
- MySQL / MariaDB
Pasos
- Clonar o descargar este repositorio. En la terminal navegar al directorio y ejecutar
npm installpara instalar las dependencias de Angular y cosas del lado del cliente - Ahora navegar a la carpeta api y ejecutar lo mismo:
npm install - Crear base de datos y usuario en MySQL
- Crear archivo .env a partir del ejemplo .env.example (dentro de api)
- Importar esquema.sql a la base de datos recién creada en el paso 3
- Configurar credenciales de la base de datos en .env (está dentro de api)
- En la carpeta raíz ejecutar
ng serve - Abrir otra terminal, y dentro de api ejecutar
node index.js - Navegar a localhost:4200
sordid details following...
Créditos
La imagen de "Gracias por su compra" fue tomada de https://icons8.com
ECommerceAngularNode
This project was generated with Angular CLI version 9.1.6.
Development server
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.