Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edwinvanderven/euler-in-angular

Euler solutions in an Angular app
https://github.com/edwinvanderven/euler-in-angular

algorithms angular euler euler-project euler-solutions jasmine javascript karma karma-jasmine typescript unit-testing

Last synced: 20 days ago
JSON representation

Euler solutions in an Angular app

Awesome Lists containing this project

README

        

# Euler in angular

An Angular webpage with the questions and answers for the [Project Euler](https://projecteuler.net/) 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.

```sh
npm install
```

Run npm start to start the development environment and navigate to

```sh
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](https://karma-runner.github.io).

```sh
npm run test
```

### Running end-to-end tests

Run npm e2e to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

```sh
npm run e2e
```