Skip to content

AndrewJBateman/springboot-angular-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ 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 GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

General info

  • Displays Java back end user data in a front end Angular list.

Technologies

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
public class UserController {

	@Autowired
	private UserRepository userRepository;
	
	@GetMapping("users")
	public List<User> getUsers() {
		return this.userRepository.findAll();
	}
	
}

Features

  • Backend java user data passed to frontend

Status

  • Status: Working. Updated may 2021.
  • To-Do: Nothing

Inspiration

Screenshots

Example screenshot

📁 License

  • This project is licensed under the terms of the MIT license.

✉️ Contact