Prepare and build a simple AngularJS “Notes” application. We require to be able to install and run the Application in node.js. Repository clone will be used to deploy Application. BSC prepared mock REST API to be used during the development. See:
- GET /notes
- GET /notes/{id}
- POST /notes
- PUT /notes/{id}
- DELETE /notes/{id}
- After installation and application starting on the address localhost:9000 browser will display starting page with the list of Notes.
- It is possible to display detail, edit, delete and crete new Note (mock interface will already return same data, the goal of this task is to call right REST methods).
- In application it will be possible to switch language EN/RU (CZ, SK or any other) (values and labels)
#How to install and run application
-
Clone this repository and (or) download files
-
Install nodeJS
-
You need Gulp installed globally:
npm i -g gulp
-
Go to directory, where you saved files
-
install packages
npm i gulp-connect gulp-concat-css gulp-minify-css gulp-autoprefixer gulp-minify-html gulp-uglify gulp-imagemin imagemin-pngquant gulp-html-replace --save-dev
- Run the command
gulp
and application starting on the address localhost:9000
You can run the tests that have been written using protractor js library. All tests are in the directory tests. Please run the file conf.js