Skip to content

vilvic/cake-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake manager

Pre-requisites

Server

  • Java 17 SDK
  • Maven
  • Docker (optional)

Client

  • Npm
  • Docker (optional)

Server

Maven build

mvn clean package

Running server from command line

mvn spring-boot:run

Docker - build

cd cake-manager-server 
docker build -t cake-manager-server:0.0.1-SNAPSHOT ./

Test

Swagger

Spring actuator

###Client

Npm build

mvn i

Running client from command line

npm start

Docker - build

cd cake-manager-client
docker build -t cake-manager-client:0.0.1 ./

Test

Note, the server must be running to test the UI

Docker (both server and client)

start container

docker compose up -d

stop container

docker compose down

Changes from original project

Server

  • Modernised the server solution using Spring Boot and Spring data
  • Fixed issue with naming of entity and colum names
  • Altered column sizes (description column size the same as title)
  • Replaced servlets with RestControllers
  • Documented endpoints with Open API
  • Added spring actuator - provides operational information about the running application
  • Added swagger - helps with testing by providing access to the restful services from the web browser
  • Added tests

Client

  • The UI is completely missing. Following the guidance to produce a client/server solution with the UI developed using React

About

Cake manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published