/decision-maker-nextjs-client

Nextjs client for MakeMyDecision (Decision maker web app).

Primary LanguageTypeScriptMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License


MakeMyDecision

A NextJS project that helps you make decisions.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

MakeMyDecision is a NextJS SPA that helps you make decisions. The backend uses a simple Web API (https://github.com/raihahahan/decision-maker-api) built with .Net 6. This was my first project working with a .Net 6 backend, and it is still in progress.

(back to top)

Features

Random Decision

  • From a list of choices, randomly return a decision.

Weighted Decision

  • From a list of choices, provide a list of criteria affecting your choice.
  • For example, for a list of cars, some criteria may be budget, convenience, specs etc.
  • Weigh how important each criteria is for each choice.

Conditional Decision (IN PROGRESS)

  • From a list of choices, provide a list of conditions affecting your choice.
  • For example, for a list of commuting method (e.g. bicycle, public transport, private transport), some conditions may be "Rainy weather", "Must report to work earlier" etc. And for each condition, there are two lists, include and exclude, each containing a list of choices to include and exclude respectively if the given condition is true.

(back to top)

Getting Started

Prerequisites

  • npm
  • dotnet (for the backend to work)

Installation

  1. Clone the repo
    git clone https://github.com/raihahahan/decision-maker-nextjs-client.git
  2. Install dependencies
    npm install
  3. Start the project.
    npm run dev

(back to top)

Roadmap

  • Random Decision
  • Weighted Decision
  • Conditional Decision

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Email: mraihandev@gmail.com Website: https://mraihan.vercel.app

(back to top)

Acknowledgments

(back to top)