Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.54 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.54 KB

Register Page Web Application

This project is a simple web based application allowing users to register an account with only a username and password. I am using Angular and Node.js to do the project. Valid username and password is written to post.json file.

Quick Start

Make sure you have Node version v8.1.3, NPM < 5 like version 4.6.1 and Angular version 4

# clone our repo
git clone https://github.com/mengzhen94/registerPage-test

# change directory to our repo
cd registerPage-test

# install the repo and depedency with npm
npm install

# start the server
# First we need to bulid the Angular source file using "ng build", then we run node server file using "node server.js"
# To make it easy, I have defined a script task for it the package.json: "server": "ng build && node server.js"
npm run server

# open the application
Navigate to http://localhost:8080/.

Test

npm test

Document

Document of the project is auto-generated by Compodoc. It is in documentation folder. Please open it in the browser.

Usage and Screenshots of the application

Username and password validation

Successfully registered

Username is already registered