nutrition-monitoring-system / nhms

Source code for the nutrition management system. A link to the current website is below.
https://nhms-beta.vercel.app/
0 stars 1 forks source link


NHMS

β—¦ NHMS: Nutrition and Health Management System

β—¦ Developed with the software and tools below.

JavaScript PostCSS Autoprefixer YAML Jest React ESLint MySQL Prisma GitHub%20Actions Cypress JSON


πŸ“– Table of Contents


πŸ“ Overview

NHMS is an easy to use web-based application where users are able to simply log in their nutrition choices, liquids, exercise, mood, energy levels, menstrual cycle and other symptoms that relate to chronic conditions.


πŸ“¦ Features


πŸš€ Getting Started

Dependencies

Please ensure you have the following dependencies installed on your system:

node - to run any commmands.

postgres - to download and use the database provided.

cypress - to run tests.

πŸ”§ Installation

  1. Clone the nhms repository:
git clone https://github.com/nutrition-monitoring-system/nhms.git
  1. Change to the source directory:
cd nhms/src
  1. Install the dependencies:
npm install

πŸ€– Running nhms

npm run dev

in development and

npm run build
npm run start

in production.

πŸ§ͺ Tests

npm run test OR npm run cy:run - # for headless mode
npm run cy:open - # to actively run tests in the Cypress browser.

Make sure that the dev dependencies are installed using:

npm install -D

πŸ›¬ Deployed Version

Users can find the deployed version of nhms on Vercel with this link.


πŸ›£ Project Roadmap

  • [x] ℹ️ Create a basic scaffolding for the nutrition management system.
  • [ ] ℹ️ Expand out with recommendations for foods, per client.
  • [ ] ℹ️ MORE TO BE ADDED.

🀝 Contributing

Contributions are welcome! Here are several ways you can contribute:

Contributing Guidelines

Click to see contribution instructions 1. **Fork the Repository**: Start by forking the project repository to your GitHub account. 2. **Clone Locally**: Clone the forked repository to your local machine using a Git client. ```sh git clone ``` 3. **Create a New Branch**: Always work on a new branch, giving it a descriptive name. ```sh git checkout -b new-feature-x ``` 4. **Make Your Changes**: Develop and test your changes locally. 5. **Commit Your Changes**: Commit with a clear and concise message describing your updates. ```sh git commit -m 'Implemented new feature x.' ``` 6. **Push to GitHub**: Push the changes to your forked repository. ```sh git push origin new-feature-x ``` 7. **Submit a Pull Request**: Create a PR against the original project repository. Clearly describe the changes and their motivations. Once your PR is reviewed and approved, it will be merged into the main branch.

πŸ“„ License

This project is protected under the SELECT-A-LICENSE License.

For more details, refer to the LICENSE file.


πŸ‘ Acknowledgments


Return