project with signup, login, calculate packages and calculate business days
In this project im using Angular - authentication, token, service, components, middleware, models, controllers, routes, AuthGuard
NodeJS with express and JWT
mysql
must use xampp first go to 'before' folder and run this lines:
npm install --save mysql express
npm install -g nodemon (if not installed before)
nodemon
now to build the DB http://localhost:3000/createdb
now uncomment line 8 in app.js and run this lines in the url
http://localhost:3000/createusersstable
http://localhost:3000/createdaysstable
http://localhost:3000/createpackagesstable
back to 'login-days-package' folder and run this lines:
npm install --save mysql express
ng add @angular/material
custom , yes, yes
nodemon
node server.js (in new window)
go to the link http://localhost:4200
This project was generated with Angular CLI version 7.3.4.
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.
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.
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.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.