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
nvmto handle node versions - Install
yarnto handle node packages nvm useto use the correct node versionyarnto install dependencies
- Install Postgres v15
- Copy
.env.exampleto.envand fill in the values - Create
meal_recommenderdatabase in Postgres:
psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE meal_recommender;"nvm useto use the correct node versionyarnto install dependenciesyarn devto start the API
- Copy
.env.exampleto.envand fill in the values
yarn startto start the UI