Skip to content

tramel-woodard/angular-java-fullstack-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# TodoApp Monorepo

This is a fullstack **Todo management application** built with:

- **Frontend:** Angular 20 (standalone components, using RxJS, HTTP client)
- **Backend:** Spring Boot (Java 21, RESTful API, Hibernate, CORS support)

---

## Project Structure

/ ├── backend/ # Spring Boot Java backend └── frontend/ # Angular 20 frontend


---

## Getting Started

### Prerequisites

- Node.js (v18+ recommended)
- Angular CLI (`npm install -g @angular/cli`)
- Java 21 (JDK)
- Maven (v3.9+)

---

## Frontend (Angular)

### Location

```bash
cd frontend

Install Dependencies

npm install

Run Angular Dev Server

ng serve

App will run at: http://localhost:4200


⚙️ Backend (Spring Boot)

Location

cd backend

Run with Maven

./mvnw spring-boot:run

App will run at: http://localhost:8080

API Endpoints

  • GET /api/todos – List all todos
  • POST /api/todos – Add a new todo
  • PUT /api/todos/{id} – Update a todo
  • DELETE /api/todos/{id} – Delete a todo

Cross-Origin (CORS)

CORS is configured in the backend via:

@CrossOrigin(origins = "http://localhost:4200")

No Angular proxy is needed during development.


Build for Production

Frontend

ng build

Compiled files go to frontend/dist/.

Backend

./mvnw clean package

Generates a JAR in backend/target/.


License

MIT – Free to use and modify.


---

Let me know if you'd like a version that includes **Docker**, **PostgreSQL**, or **deployment instructions (e.g. Vercel + Heroku or AWS)**.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published