A progressive web app to track your baby and share the data with your family in real-time.
Create a new baby by entering his/her name in the designated field. Afterwards you will receive a unique id which represents your baby. Share this id with your husband, family and friends. All inserts, updates and deletes will be synced to everyone in realtime, thanks to the magic of websockets.
At the moment these activities can be tracked:
- Diaper
- Nursing
- Food
- Sleep
- Measurement
The data can be exported by clicking export in the bottom right-hand corner.
You can also activate a dark mode.
Screenshots at the features page
To correct a translation simply edit the corresponding message.po file.
To add a new language you can do this:
# Fork https://github.com/mikebarkmin/baby-tracker.git
git clone https://github.com/{your_username}/baby-tracker.git
cd baby-tracker.git
git checkout -b languages/{languagecode}
yarn install
yarn locale:add {languagecode}
yarn locale:extract
# Edit client/src/locale/{languagecode}/messages.po
yarn locale:compile
Update client/src/locales/catalogs.js
Update client/src/hooks/useLocale.js
# Submit a pull request
Please add your questions as GitHub issue: Baby-Tracker Feature Requests and Bugs.
# Fork https://github.com/mikebarkmin/baby-tracker.git
git clone https://github.com/{yourusername}/baby-tracker.git
cd baby-tracker
cd client
yarn install
cd ..
docker-compose up
# Submit a pull request
wget https://github.com/mikebarkmin/baby-tracker/raw/master/docker-compose.prod.yml
wget https://github.com/mikebarkmin/baby-tracker/raw/master/mongo-init.js
# Change username and password to something other than server/test
docker-compose -f docker-compose.prod.yml up
# Visit localhost:8080
# backup
docker-compose -f docker-compose.prod.yml exec -T mongo sh -c 'mongodump --username=root --password=example --archive' > db.dump.archive
# restore
docker-compose -f docker-compose.prod.yml exec -T mongo sh -c 'mongorestore --username=root --password=example --archive' < db.dump.archive
Licensed under the MIT License, Copyright © 2019-present Mike Barkmin.
See LICENSE for more information.