allieIsOkay / allieIsOkay/quantified-self-api

Add food model

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Create a Food model for storing records within the database.

This model requires the following fields:

id - Integer
name - String
calories - Integer
createdAt - Date
updatedAt - Date

The name and calorie fields should be required, and the name should be unique within the system.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.