afdezcl / kemenu

3 stars 0 forks source link
angular covid-19 java14 menu menubar mongodb spring-boot webapp

kemenu

Kemenu web application, for menu management written in Java and Angular.

Roadmap

  1. Monetization
  2. SEO
  3. Admin panels
  4. Home redesign
  5. /show customization
  6. Contact form

Server

IMPORTANT:exclamation:: Use npm as follows

:warning: Before running the frontend you have to compile the frontend:

mvn -U clean install -pl :kemenu-frontend

  1. Hot reloading to work with frontend:

bash kemenu-frontend/npm --prefix kemenu-frontend run start

  1. For use ng command:

bash kemenu-frontend/npm --prefix kemenu-frontend run ng <NG_COMMAND>

  1. For install a npm package:

bash kemenu-frontend/npm --prefix kemenu-frontend install <PACKAGE>

Build project

  1. Build entire project

mvn -U clean install -pl :kemenu-frontend && mvn -U clean test package -pl :kemenu-backend

  1. Compile frontend

mvn -U clean install -pl :kemenu-frontend

  1. Compile backend

mvn -U clean test package -pl :kemenu-backend

  1. Launch acceptance tests

mvn -U clean test -pl :kemenu-acceptance-tests

  1. How to launch docker

docker-compose up

How to run backend in local with Intellij IDEA

:warning: Before running the backend, you need to have the docker running with mongodb.

  1. Go to kemenu-backend/src/main/java/com/kemenu/kemenu_backend/Application.java
  2. Right click and click on Debug 'Application'
  3. Stop it
  4. Go to Run > Edit Configurations...
  5. In the new window select Spring Boot > Application > Environment
  6. Put in VM options the following -Dspring.profiles.active=dev
  7. Click on Apply and then in OK

Stack

Branch naming convention

A branch must be named following this convention: