Monorepo as Microservices: Full MEAN stack with Angular 7, Ionic 4 and ReactiveX API (ngrx/Store + ngrx/Effects) + i18n/ngx-translate + Express NodeJS REST API servers micro-services + JWT Authentication + UnitTest/e2e exemple + Travis + DevOps scripts and many more...
My own Full MEAN stack Starter kit based on Microservice architecture with Ionic 4 and ReactiveX API (ngrx/Store + ngrx/Effects) and many more tools...
refact in proccess...
MEAN Ionic NgRx is a TypeScript Full Stack Starter with MongoDB + ExpressJS + Angular + NodeJS + Ionicframework all builded as microservices architecture managed inclued by LernaJS and many others funny tools.
It's a simple todo application exemple with REST server-side for Users authentification with JWT. Front side is building with Angular and Ionicframework 4 and using ReactiveX API (ngrx/Store + ngrx/Effects) to provide a better and simply datas management + ngx-translate to internationalize languages + Angular HttpClientModule to work with REST server-side.
Hop is help you to start your project on the right way.
$ nvm install node 10
.$ npm install -g typescript
$ npm install -g ionic
$ npm install -g typedoc
$ npm install -g lerna
$ npm install -g karma-cli
$ npm install -g protractor && webdriver-manager update
$ nvm use 10
$ npm install
$ npm run dev
to start Front-End+Back-End in development modehttp://localhost:4200
Tips:
killall mongod
or killall node
to kill all processcomming soon...
comming soon...
$ npm run docs
./docs/index.html
to read documentationhttp://localhost:3000
http://YOUR_HOST
(or https)TODOS Endpoints
path: http://localhost:3000/todos
autenticate: false
methode: $_GET / $_POST
path: http://localhost:3000/todos/:id
autenticate: false
methode: $_GET / $_POST / $_DELETE
AUTH Endpoints
path: http://localhost:3000/auth
autenticate: false
methode: $_POST
path: http://localhost:3000/auth/isauth
autenticate: false/true
methode: $_GET
path: http://localhost:3000/auth/signin
autenticate: false
methode: $_POST
USERS Endpoints
path: http://localhost:3000/users
autenticate: true
methode: $_GET
path: http://localhost:3000/users/:id
autenticate: true
methode: $_GET
App Documentations is generate by typeDoc. Use the following cmd to generate documentation
$ npm run docs
will generate Angular Application documentation and open the index doc in browser.Important: You have to update/change/replace mongod
npm script into main ./package.json
Update mongod $path with your own path (or run $npm run mongod
to check if mongo starting correctly) and replace Git repository link into tools/tasks/release.project.sh
line 50 by your'own.
Git Workflow
<core|update|features|fix>:
at the begin of the commit. Script search :
to generate CHANGELOG.mdtools/tasks/release.project.sh
and comment all changelog()
content function or comment changelog call function in line 88 as # changelog
.Feel free to contrib to my stack.
$ git checkout -b YOUR_BRANCH
dev
branch / or submit small fix on the master
branch.Hi, i'm a Front-end developper living in Geneva Switzerland and i build hybrid mobile & web applications for almost 15 years. You can follow me on Twitter @FazioNico or checkout my own website https://nicolasfazio.ch