This is a simple login application built using NodeJS and Angular JS. It can save sessions, keep you logged in and get server data after you log-in
- Download and install Node.js.
-
Navigate to "./backend", install the node app dependencies
npm install -
Navigate to "./backend", run the application
npm start
Note: the NodeJS app is just an example, it validates only one fixed login, the user is "admin" and the password is "admin".
-
Install the angular CLI
npm install -g @angular/cli -
Go to the root folder and install the angular dependencies
npm install -
Go to the root folder and run the application
npm start
Note: if you change the Node app port you have to open the root/proxy-config.json and change the target property before runing the angular app.
This project was generated with Angular CLI version 10.0.1.
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.
LinkedIn - Rodrigo Surita
Instagram - @rodrigosurita
