react-java-mysql: use create-react-app for frontend

Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
Jérémie Drouet
2020-03-23 11:18:04 +01:00
parent bf31ad4ece
commit 70be09e941
56 changed files with 15557 additions and 1126 deletions

View File

@@ -22,11 +22,13 @@ services:
networks:
- spring-mysql
frontend:
build: frontend
build:
context: frontend
target: development
ports:
- 9000:9000
- 3000:3000
volumes:
- ./frontend:/project
- ./frontend/src:/code/src
- /project/node_modules
networks:
- react-spring
@@ -39,4 +41,4 @@ secrets:
file: db/password.txt
networks:
react-spring: {}
spring-mysql: {}
spring-mysql: {}