Skip to content

Latest commit

 

History

History
171 lines (114 loc) · 4.46 KB

README.en.md

File metadata and controls

171 lines (114 loc) · 4.46 KB

Angular 19 — Fullstack Application

👉 Version française disponible ici : Français


🔧 Continuous Integration

Frontend Angular CI Backend JavaScript CI Backend Spring Boot CI


Modern fullstack applications built with Angular 19, Node.js 20.x, and Java 21, featuring a modular, scalable, and production-ready architecture.

📦 Tech Stack

Angular Node Java License: MIT


📚 Table of Contents


logo ganatan

This repository contains a fullstack web application using Angular 19 + Node.js or TypeScript with PostgreSQL/MySQL or mocked data.


🌐 Live Demo

🔗 Check out the Angular demo

Angular 19 Example Application


📁 Project Structure

🧩 Frontend

  • frontend-angular
    Angular 19 app (with Routing, Lazy loading, SSR, PWA, SEO)

🚀 Backends

  • backend-javascript
    Express.js API in JavaScript (ESM) with PostgreSQL, MySQL or mock data

  • backend-typescript
    Express.js API in TypeScript with PostgreSQL, MySQL or mock data


🔧 Frontend Configuration (Angular)

In frontend-angular/src/environments/environment.ts:

useDatabase: false,
backend: 'http://localhost:3000',
useDatabase Mode
false Mocked data handled in frontend
true Real data fetched from backend

🛠 Backend Configuration

In .env file:

PORT=3000
DB_CLIENT=mock # mock | pg | mysql
DB_CLIENT Data Source
mock Mocked data
pg PostgreSQL
mysql MySQL

🔗 Exposed APIs

Resource URL
Continents http://localhost:3000/continents
Cities http://localhost:3000/cities
Countries http://localhost:3000/countries
Persons http://localhost:3000/persons
Professions http://localhost:3000/professions

⚙️ Quick Start

▶️ Clone the project

git clone https://github.com/ganatan/angular-app.git
cd angular-app

▶️ Frontend Angular

cd frontend-angular
npm install
npm start
# http://localhost:4200

▶️ Backend JavaScript

cd backend-javascript
npm install
npm start
# http://localhost:3000

▶️ Backend TypeScript

cd backend-typescript
npm install
npm start
# http://localhost:3000

👤 Author


📚 Documentation