Skip to content

cedricduffournet/ngx-starter

Repository files navigation

Angular Starter

codecov Build Status code style: prettier

This project is using Angular CLI.

I'm using this repository as a starter kit to create Web App based on Angular 8+.

Getting started

#clone repository
git clone https://github.com/cedricduffournet/ngx-starter.git

#Enter in app folder
cd ngx-starter

#Install package
yarn

#Start developement web server
yarn start

use login : superadmin@dev.com / pwd : superadminpwd to connect

The application's backend is available on https://github.com/cedricduffournet/symfony-api-rest-starter. If you don't want to install backend locally, use the demo api for development environment by changing apiHost in environment.ts:

Change

export const environment = {
  ...
  apiHost: 'http://127.0.0.1:81',
  ...
};

To

export const environment = {
  ...
  apiHost: 'https://symfony-api-rest.cedricduffournet.com',
  ...
};

Tasks

  • yarn start run a development web server (http://localhost:4200) that watches the files
  • yarn test run all the jest unit tests once
  • yarn test:watch watch all the source files and run all the unit tests when any change
  • yarn lint check that the code follows style rules
  • yarn build create a production build of the application

Running on Docker

The project can run as docker container. This will run application build with nginx web server :

Use shematics

Easy way to create CRUD feature module (more info here )

ng generate @cedricduff/schematics-ngx-starter:crud MyFeature

Included

About

Angular 8+ starter kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published