h3vanth / dmc-service

0 stars 0 forks source link

DMC

DMC stands for Digital Menu Card.

This application provides an interface where you can manage food menu, create orders easily in real time.

Features

Technology stack

Getting started

dmc-service

You need Java installed to run dmc-service.

  1. Download mongodb server or you can make use of cloud server https://www.mongodb.com/cloud/atlas/register
  2. Clone dmc-service repository
  3. Switch to development branch
  4. Enter mongodb uri (DB_URI) in startDevServer.bat
  5. Double click the file or type .\startDevServer.bat in cmd and press Enter.

dmc-client

  1. Clone dmc-client repository
  2. Switch to development branch
  3. Add the env vars given below in .env.local
       VITE_HOST=localhost:8080
       VITE_API_URL=http://$VITE_HOST/
       VITE_SOCKET_CONN_URL=ws://$VITE_HOST/message
  4. Then run the following commands:
       npm install
       npm run dev