Skip to content

React app for tracking calories and nutrients in the food you eat.

License

Notifications You must be signed in to change notification settings

jlbelanger/food-app

Repository files navigation

Food Tracker

View the site.

Development

Requirements

Setup

First, setup the Food API.

# Clone the app repo
git clone https://github.com/jlbelanger/food-app.git
cd food-app

# Configure the environment settings
cp .env.example .env
cp .env.example .env.production
cp cypress.env.example.json cypress.env.json

# Install dependencies
yarn install

Run

yarn start

Your browser should automatically open http://localhost:3000/

Lint

yarn lint

Test

yarn test:cypress

Generate splash screens

npx pwa-asset-generator public/favicon.svg ./public/img/splash --background "#f9f9f9" --splash-only --type png --portrait-only --padding "35%"

Deployment

Note: The deploy script included in this repo depends on other scripts that only exist in my private repos. If you want to deploy this repo, you'll have to create your own script.

./deploy.sh

About

React app for tracking calories and nutrients in the food you eat.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published