/food-captain

Food menu manager for home

Primary LanguageTypeScriptMIT LicenseMIT

food-captain

Food menu manager for home

Installation

yarn install

Dev

MacOS / Linux

Are not supported (you have to find out solution for your system by yourself)

First run on Windows

  1. Modify your C:/Windows/System32/drivers/etc/host file with adding following lines:
127.0.0.1 food-captain.localhost
127.0.0.1 api.food-captain.localhost
  1. Run caddy with Administration permission to allow him install TSL certificates in your system:
yarn caddy:run 

Dev run

To run application in dev mode you need to:

  1. run docker service
  2. run database, server/host and server/api projects: you may use one command for all:
yarn start 

or execute independent commands for each of them in parallel:

yarn start:api
yarn start:host
yarn db:docker:run

Database is running in docker container Database Readme.

Application will run on https://food-captain.localhost/

To use API project separately you have to un Caddy by yourself with

yarn caddy:run