项目
在 GitHub 查看
ganatan/angular-node-java
关于
Angular 22 全栈入门项目(Node.js、Spring Boot)。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Angular 22 Fullstack Starter
Angular 22 starter application with Node.js and Spring Boot backends.
Stack
| Project | Technology |
|---|---|
| frontend-angular | Angular 22 |
| backend-node | Node.js + TypeScript |
| backend-springboot | Java + Spring Boot |
Architecture
frontend-angular
|
+-- backend-node
|
+-- backend-springboot
Demo
Quick Start
git clone https://github.com/ganatan/angular-node-java.git
cd frontend-angular
npm install
npm start
Open:
http://localhost:4200
Tutorial
Step-by-step tutorials are available on Ganatan:
🇫🇷 https://www.ganatan.com/tutorials
🇬🇧 https://www.ganatan.com/en/tutorials
Project Structure
frontend-angular/
backend-node/
backend-springboot/
Frontend Configuration
File:
frontend-angular/src/environments/environment.ts
Example:
useDatabase: false,
backend: 'http://localhost:3000',
| Value | Description |
|---|---|
| false | Frontend mock data |
| true | Backend API |
Backend Configuration
File:
.env
Example:
PORT=3000
DB_CLIENT=mock
| Value | Description |
|---|---|
| mock | Mock data |
| pg | PostgreSQL |
| mysql | MySQL |
Available APIs
GET /continents
GET /countries
GET /cities
GET /persons
GET /professions
Frontend Commands
Installation
npm install
npm outdated
Development
npm start
Open:
http://localhost:4200
Production
npm run build
Linter
npm run lint
Tests
npm run test
Coverage
npm run coverage
Backend Node
Installation
cd backend-node
npm install
Development
npm start
Open:
http://localhost:3000
Production
npm run build
Backend Spring Boot
Development
cd backend-springboot
mvn spring-boot:run
Open:
http://localhost:8080
Build
mvn clean package
Author
Danny
探索相关项目
加载中…