简体   繁体   中英

How to deploy a project that's split between Angular, Spring Boot and MySQL?

So I have a project - a e-commerce website.

The front-end is Angular - front-end interface to "add to basket" and "checkout".

The back-end is Spring Boot - via hibernate, accessing the database.

The database is MySQL - where the items you can buy are stored.

Spring Boot accesses the data (the items you can buy) via Hibernate, and using the @CrossOrigin annotation, the data is transferred and manipulated (add to basket, checkout, etc.) to the front-end. It's functional when the servers start up, but I don't know how to package all of that together so it works as an app, of sorts.

How can I deploy the project and have it be fully functional?

I've heard that Firebase, Heroku, AWS are candidates, but how does it all work?

您可以在src/webapp下的 spring boot 项目中创建 angular 项目,您可以按照 jhipster 指南https://github.com/jhipster/jhipster-sample-app 进行操作,这是将 spring boot 与 angular 集成的一个很好的例子

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM