Here is a working live demo : https://angular.ganatan.com/
Dependencies
- [x] Angular : 18.1.0
- [x] Angular CLI : 18.1.0
- [x] Angular SSR : 18.1.0
- [x] Bootstrap : 5.3.3
- [x] Fontawesome : 6.4.2
Features
- [x] Routing
- [x] Lazy Loading
- [x] Server Side Rendering
- [x] Progressive Web App
- [x] Responsive Layout
- [x] Search Engine Optimization (SEO)
- [x] Components
- [x] Services
- [x] Reactive Form
- [x] Template Driven Forms
- [x] Search / Grid / Pagination
# select a repo from github or gitlab
# download the example or clone the repo from github
git clone https://github.com/ganatan/angular-app.git
# download the example or clone the repo from gitlab
git clone https://gitlab.com/ganatan/angular-app.git
# change directory
cd angular-app
cd application-angular
# install the repo with npm
npm install
# start the server
npm start
in your browser go to http://localhost:4200
npm install
(installing dependencies)npm outdated
(verifying dependencies)npm run start
npm run lint
npm run test
npm run coverage
npm run build
( with SSR)npm run serve:ssr
build image
docker build -t angular-starter:1.0.0 .
run container
docker run -d -p 4000:4000 angular-starter:1.0.0
run container mode bash
docker run -it angular-starter:1.0.0 /bin/bash
in your browser http://localhost:4000
Tools
- [x] mysql-express-batch (with Node.js)
- [x] mysql-sql (with SQL Scripts)
Features
- [x] Database Creation
- [x] Domains Creation (only PostgreSQL)
- [x] Tables Creation
- [x] Importing Data
- [x] Exporting Data
- [x] Serving RESTful CRUD API
Use the SQL scripts in postgresql-sql
- [x] create-database.sql
- [x] create-domains.sql
- [x] create-tables.sql
- [x] insert-data.sql
Use the SQL scripts in mysql-sql
- [x] create-database.sql
- [x] create-tables.sql
- [x] insert-data.sql
# select the repo
cd application-node
cd postgresql-express-batch
# install the repo with npm
npm install
# create database and import JSON data
npm run create
# For the fun delete All data/export Files
# Export JSON data in data/export
npm run export
# Check the new files (for example movies.json)
# select the repo
cd application-node
cd mysql-express-batch
# install the repo with npm
npm install
# create database and import JSON data
npm run create
# For the fun delete All data/export Files
# Export JSON data in data/export
npm run export
# Check the new files (for example movies.json)
# select the repo
cd application-node
cd postgresql-express-crud
# install the repo with npm
npm install
# Serve CRUD REST API : development mode with nodemon
npm run dev
# Serve CRUD REST API : local mode
npm run start
# Serve CRUD REST API : production mode
npm run prod
# Serve CRUD REST API : production mode with pm2 (process manager)
pm2 start process.config.js --env prod
English Tutorials
Tutoriels en français