A web application for tracking baby care activities including feeding, diaper changes, and more.
- Track feeding (formula and breastfeeding)
- Track diaper changes
- Date-based navigation
- Timezone support (PST)
- Responsive design
- Real-time updates
- Theme Support:
- Dark mode (default)
- Light mode
- Persistent theme preference
- Smooth theme transitions
- Language Support:
- English (default)
- Simplified Chinese (简体中文)
- Extensible i18n system for adding more languages
- Persistent language preference
- Added comprehensive baby body data tracking (weight and height)
- Implemented interactive WHO growth curve charts with color-coded percentiles
- Added support for gender-specific growth references (male/female)
- Introduced birth date tracking for accurate age-based growth assessment
- Designed responsive visualization with enhanced readability
- Added data persistence using localStorage
- Added comprehensive language support system
- Implemented English and Simplified Chinese translations
- Added language selection in settings
- Designed extensible i18n system for future language additions
- Added persistent language preferences
- Added comprehensive theme support with dark and light modes
- Implemented smooth color transitions for all UI elements
- Added theme persistence using localStorage
- Improved theme switcher UI with animations
- Added responsive design for theme controls
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express
- Database: MongoDB
- Additional Libraries:
- Moment.js (time handling)
- Winston (logging)
- Font Awesome (icons)
- Clone the repository:
git clone https://github.com/ikow/Baby-Care.git
cd baby-care- Install dependencies:
cd backend
npm install- Create a
.envfile in the backend directory with the following variables:
PORT=5001
MONGODB_URI=mongodb://localhost:27017/baby_care
TIMEZONE=America/Los_Angeles
NODE_ENV=development
- Start the server:
npm startAccess the application through your web browser at http://localhost:5001
- Click the theme toggle button at the bottom of the sidebar
- Theme preference is automatically saved
- Transitions smoothly between dark and light modes
- Access settings through the gear icon in the sidebar
- Choose your preferred language from the dropdown
- Language preference is automatically saved
- UI updates immediately with selected language
To add a new language:
- Add the language code and translations to
translations.js - Add the language option to the settings page
- The i18n system will automatically handle the new language
To run the application in development mode with auto-reload:
npm run devRun the test suite:
npm testMIT License