Skip to content

edwinvanderven/Euler-in-Angular

Repository files navigation

Euler in angular

An Angular webpage with the questions and answers for the Project Euler problems.

Every problem is divided into its own class and spec file to validate the solution keeps working.

Development

Run npm install to install all the required packages.

npm install

Run npm start to start the development environment and navigate to http://localhost:4200/

npm run start

The app will automatically reload if you change any of the source files.

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.

Test

Running unit tests

Run npm test to execute the unit tests via Karma.

npm run test

Running end-to-end tests

Run npm e2e to execute the end-to-end tests via Protractor.

npm run e2e