Skip to content

codete/codete-ngrx-quick-start

Repository files navigation

Codete NgRx Quick Start

Installation & build

  1. Install firedev:
npm i -g firedev
  1. Clone project:
git clone https://github.com/codete/codete-ngrx-quick-start.git
  1. Open it in Visual Studio Code:
code codete-ngrx-quick-start
  1. Start build (no need to npm install)
firedev start
  1. Start server ( if your see console message : open your browser on http://localhost:4200 ):

Select proper debug task and press F5 on keyboard

  1. Open browser: http://localhost:4200

QA

  • How to start application on different port ?

firedev start --port 3333

  • How to start server on different port ?

modify host variable in ./shared/src/lib/constants.ts

  • How to start server wihout Visual Studio Code ?

npx ts-node run.js

  • Can I use different editor than Visual Studio Code ?

sure .. but remember that firedev cli generates configs for VSCode (hidden files, server launch etc.)

Technologies

  • Sqlite/MySql/Sql.js (database)
  • Node JS/ExpressJs/TypeOrm (backend)
  • Socket.io (realtime communication)
  • Angular/NgRx/RxJS (frontend engine)
  • Angular Material (frontend UI)