Skip to content

Repository files navigation

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

to run this project

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

LoginDaysPackage

This project was generated with Angular CLI version 7.3.4.

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages