https://github.com/andrewjbateman/springboot-angular-interface
:clipboard: App to pass data from Java backend to Angular frontend
https://github.com/andrewjbateman/springboot-angular-interface
angular angular12 frontend full-stack java-backend spring-boot spring-java
Last synced: 4 months ago
JSON representation
:clipboard: App to pass data from Java backend to Angular frontend
- Host: GitHub
- URL: https://github.com/andrewjbateman/springboot-angular-interface
- Owner: AndrewJBateman
- License: mit
- Created: 2021-02-21T20:54:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-01T15:47:52.000Z (about 4 years ago)
- Last Synced: 2024-12-27T02:44:45.445Z (6 months ago)
- Topics: angular, angular12, frontend, full-stack, java-backend, spring-boot, spring-java
- Language: TypeScript
- Homepage:
- Size: 510 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :zap: Spring Java Angular Interface
* Angular client with Java Spring boot back-end used to display simple list of users
* **Note:** to open web links in a new window use: _ctrl+click on link_


## :page_facing_up: Table of contents
* [General info](#general-info)
* [Screenshots](#screenshots)
* [Technologies](#technologies)
* [Setup](#setup)
* [Features](#features)
* [Status](#status)
* [Inspiration](#inspiration)
* [Contact](#contact)## General info
* Displays Java back end user data in a front end Angular list.
## Technologies
* [Angular framework v12](https://angular.io/)
* [Spring Java Tools v4](https://spring.io/tools)## Setup
* Backend: change directory to `/springboot-backend` and run java code
* Frontend: run `ng serve` from `/angular-frontend`## Code Examples
* `UserController` class to get a list of all users
```java
public class UserController {@Autowired
private UserRepository userRepository;
@GetMapping("users")
public List getUsers() {
return this.userRepository.findAll();
}
}
```## Features
* Backend java user data passed to frontend
## Status
* Status: Working. Updated may 2021.
* To-Do: Nothing## Inspiration
* [Youtube: Angular + Spring Boot REST API Example Tutorial | Java Guides](https://www.youtube.com/watch?v=_rMAnZIcRiU&t=3s)
## Screenshots

## :file_folder: License
* This project is licensed under the terms of the MIT license.
## :envelope: Contact
* Repo created by [ABateman](https://github.com/AndrewJBateman), email: [email protected]