Skip to content

An application to track weight over time using React, Node.js, Express and Postgres

Notifications You must be signed in to change notification settings

maricarmello/weight-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weight Tracker App

Application to track weight over time using React, Node.js, Express and Postgres

Installation

  1. Clone or download the repository:
git clone https://github.com/maricarmello/weight-tracker
  1. Go to the root of the project run npm install:
npm install
  1. Go to the root of the project and install all project's dependencies: (this command can take a couple of seconds to finish)
npm run installapps
  1. The application requires a Postgres database running on port 5432. You can setup one manually or via Docker with the following command:
docker run -d -p 5432:5432 --name postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres postgres
  1. Run migration:
DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres npm run migrate up
  1. Start application:
npm run dev

Tests

Run tests:

npm run test

Known Issues

  • There's an issue with updating the date in some OS's (tested on MacOS with chrome) where the date gets subtracted by 1 day

About

An application to track weight over time using React, Node.js, Express and Postgres

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published