Giter VIP home page Giter VIP logo

foodmenu-webapp's Introduction

Example application

Table of Contents

network

if you want to use docker, you must first define a network:

docker network create example_network

backend

  • provides an example springboot (v3) application You can build and run this project as:
  • import an IDE as maven project (IntelIj, SprintToolSuite) and run as springboot application
  • in console ./mvnw spring-boot:run
  • if you want to run in docker (in backend folder): docker run --rm -v $(pwd):/app -v $(pwd)/.m2:/.m2 -w /app -p 8080:8080 -u $(id -u):$(id -g) --name example-be --network example_network eclipse-temurin:21-jdk ./mvnw spring-boot:run

OK URL: http://localhost:8080/api/ok H2 database console URL: http://localhost:8080/h2-console (all settings can be found in the application.properties file)

frontend

You can start in docker in frontend folder:

docker run --rm -v $(pwd):/app -v $(pwd)/.npm:/.npm -u $(id -u):$(id -g) -p 3000:3000 -w /app --name example-fe --network example_network node:latest ./start.sh

Or you can start without docker: frontend

nginx

You can start in docker in project root folder:

docker run --rm -v $(pwd)/nginx/nginx.conf:/etc/nginx/nginx.conf -p 80:80 --name example-proxy --network example_network nginx:latest

Or you can start without docker: nginx

foodmenu-webapp's People

Contributors

bencejuhaasz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.