Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-01T15:47:52.000Z (over 3 years ago)
- Last Synced: 2024-11-07T03:32:54.153Z (about 2 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_![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/springboot-angular-interface?style=plastic)
![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/springboot-angular-interface?style=plastic)
![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/springboot-angular-interface?style=plastic)
![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/springboot-angular-interface?style=plastic)## :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
![Example screenshot](./img/java-angular.png)
## :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]