GithubHelp home page GithubHelp logo

replenishmentmanager's Introduction

ReplenishmentManager

Work environment set up :

  • Install mongodb and make sure it is running on the port 27017
  • Clone this project.
git clone https://github.com/suryatejaswi89/ReplenishmentManager.git
  • This is maven project, please make sure you have maven installed.
  • Change directory to project's root and issue below command to build and run JUnit tests.
mvn clean install
  • To run the project, issue below command. It will start embedded Tomcat Webserver and deploy ReplenishmentmanagerApplication.
mvn spring-boot:run 
  • Wait for console to show "Started ReplenishmentmanagerApplication" to start using the API.

  • Visit Replenishment Manager App to start using the app, for instruction on how to use, please refer UI documentation

  • Refer API docs to test scenarios of interest.

  • Every method is documented to allow Java docs generation. Docs can be generated with below command. Create "docs" directory before running the command.

command: javadoc -d docs/ -sourcepath src/main/java/ -subpackages com.replenishmentmanager

Assumptions and Design choices:

  • Any task can have any status from the following
    • Created
    • Started
    • completed
  • The status of the task can only be changed from created → started→ completed.
  • If "isRecurring" condition for any task is true, the next recurring task is created only when current task's status is updated as “COMPLETED”
  • Pending tasks include both created and started tasks which have not been completed.
  • When ever the task status is changed, the timestamp is captured and stored to track time spent in each status.
  • A task can be created by individual and added to his personalised tasks by keeping the taskOnwerID and assigneeID as same.
  • End date for the recurringTask has not been considered which means the task will be created repeatedly based on the frequency for ever.

replenishmentmanager's People

Contributors

suryatejaswi89 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.