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

https://github.com/jonanv/gameofyear-angularjs

Game of year in Angular with graphics
https://github.com/jonanv/gameofyear-angularjs

angular angular-fire angular-firestore angularjs bootstrap bootstrap4 css css3 firebase firebase-database html html5 javascript ng-module ngx-chat

Last synced: 3 months ago
JSON representation

Game of year in Angular with graphics

Awesome Lists containing this project

README

        



[![NPM Version][npm-badge]][npm-url]
[![Node JS][node-badge]][node-url]
[![Angular JS][angular-badge]][angular-url]
[![License][license-badge]][license-url]

# Site
![gameofyear angularjs](https://i.imgur.com/6gs6GWZ.png)
![gameofyear angularjs 2](https://i.imgur.com/OZaGJBq.png)

# Install dependences
in ```gameofyear-angularjs/```

```bash
npm install
```
or
```bash
yarn install
```

***

# GameofyearAngularjs

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## 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.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

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

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

***
# Create component without .spec (--skip-tests)
```javascript
ng generate component pages/home --skip-tests
```
or
```javascript
ng g c pages/home --skip-tests
```

# Create module in folder components (--flat (--flat Create the new files at the top level of the current project root.))
```javascript
ng generate module components/components --flat
```
or
```javascript
ng g m components/components --flat
```

# Create service without file .spec (--skip-tests)
```javascript
ng generate service services/game --skip-tests
```
or
```javascript
ng g s services/game --skip-tests
```

# Create interface (add at file name '.interface.ts')
```javascript
ng generate interface interfaces/game
```
or
```javascript
ng g i interfaces/game
```

# Server local
install global ```sudo npm i -g http-server```

deploy in ```/gameofyear-angularjs/dist/gameofyear-angularjs/```

```javascript
http-server
```
or
```javascript
http-server -o
```

[npm-badge]: https://img.shields.io/badge/npm-v7.7.6-brightgreen
[npm-url]: https://www.npmjs.com
[node-badge]: https://img.shields.io/badge/nodejs-v14.16.0-brightgreen
[node-url]: https://nodejs.org/download/release/v12.16.1/
[angular-badge]: https://img.shields.io/badge/angular--CLI-v11.2.4-brightgreen
[angular-url]: https://angular.io/cli/
[license-badge]: https://img.shields.io/badge/license-MIT-green.svg
[license-url]: https://opensource.org/licenses/MIT