Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fyodorio/ng-hotrod

Modern starter for AngularJS + Angular Material + Vite
https://github.com/fyodorio/ng-hotrod

angularjs es2015 es6 eslint hygen javascript material material-design ng-hotrod prettier vite vitejs

Last synced: 23 days ago
JSON representation

Modern starter for AngularJS + Angular Material + Vite

Awesome Lists containing this project

README

        

# ng-hotrod

[![Semver](https://img.shields.io/github/package-json/v/fyodorio/ng-hotrod)](https://github.com/fyodorio/ng-hotrod/releases)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![coc-badge](https://img.shields.io/badge/codeof-conduct-ff69b4.svg?style=flat-square)](https://github.com/fyodorio/ng-hotrod/blob/master/.github/CODE_OF_CONDUCT.md)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![GitHub license](https://img.shields.io/github/license/loenko/ng-hotrod.svg)](https://github.com/fyodorio/ng-hotrod/blob/master/LICENSE)

### Modern starter for AngularJS + Angular Material + Vite

ng-hotrod

#### [Demo](https://ng-hotrod.netlify.app)

#### Motivation

Nostalgia 👴

#### Includes

- [AngularJS](https://angularjs.org/) (1.8.3) with component-based architecture
- [Angular Material](https://material.angularjs.org/latest/)
- [Sass](https://sass-lang.com/)
- [Vite](https://vitejs.dev/) (as modern zero-config Webpack alternative)
- [ESLint](https://eslint.org/)
- [Prettier](https://prettier.io/) for code formatting
- [hygen](https://www.hygen.io/) for code scaffolding
- [husky](https://github.com/typicode/husky) for pre-commit hooks

#### Scripts

- `npm install` - install all the dependencies
- `npm start` - serve with hot reload at `http://127.0.0.1:5173`
- `npm run build` - build bundled version in `dist` folder
- `npm run lint` - lint code in `app` folder by ESLint with included config
- `npm run format` - format code with Prettier
- `npx hygen component new --name new-component --path relative/path/inside/of/app/folder` - generate folder with default component code files (run from root folder!)
- `npx hygen service new --name new-service --path relative/path/inside/of/app/folder` - generate folder with default service code files (run from root folder!)

#### Contributing

Thank you for your interest in contributing to ng-hotrod! There are many ways to contribute to this project. Get started [here](https://github.com/loenko/ng-hotrod/blob/master/.github/CONTRIBUTING.md).

#### Credits

This starter is inspired by [Angular Class' NG6 Starter](https://github.com/gdi2290/NG6-starter) and [angular-starter-es6-webpack](https://github.com/TheLarkInn/angular-starter-es6-webpack)