This repo is setup with three package.json
files. One in the base (this directory), one in the api
directory, and one in the ui
directory. This is to allow for the API and client to be deployed separately.
This directory contains the linting and formatting configuration for the entire project.
- Install
nvm
to handle node versions - Install
yarn
to handle node packages nvm use
to use the correct node versionyarn
to install dependencies
- Install Postgres v15
- Copy
.env.example
to.env
and fill in the values - Create
meal_recommender
database in Postgres:
psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE meal_recommender;"
nvm use
to use the correct node versionyarn
to install dependenciesyarn dev
to start the API
- Copy
.env.example
to.env
and fill in the values
yarn start
to start the UI