Skip to content

klagishetty11/springboot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Coding Test

Our Application is largely configuration driven. One of the configuration screens that was recently redesigned allowed us to configure which data sets are visible to which users. I have provided a basic skeleton that renders a basic page and has stubbed out code to implement CRUD operations. The data needs to be stored for different year/month time periods. For example, Jan 2018 has a set of configs A,B,C,D. However, Feb 2018 has the set of configs A,C,F,G,H. For convenience, you can use the string "022018" as Feb 2018 to avoid date code. Once you have it working, please submit your code by issuing a PR to master in the repo.

Hint: There are a couple of bugs that will need to be corrected.

Minimum Requirements:

  1. Display whatever is currently configured (not having a configuration is not an error) in a grid.
  2. Add the ability to add new configurations for a time period.
  3. Add the ability to delete all the configurations for a time period.

Optional Requirements:

  1. Add the ability to remove a single configuration for a time period.

Getting the Code and Running the App

Dependencies

  • JDK 1.8
  • Maven The Maven POM is already configured and ready for spring boot.

Checking out

  1. Fork the repo using github (By clicking the fork button in the top right hand corner)
  2. Clone the newly forked repo (git clone )
  3. Commit changes as you make them to your forked repo.

Building and Running the App

  1. In the configurationapp directory (under the directory you checked out the code to) run: mvn clean package.
  2. In the configurationapp/target directory run: java -jar configurationapp.jar
  3. In your favorite browser navigate to localhost:9000
  4. You should see a welcome message if you haven't made any changes.

Submitting the code

  1. Push your local changes to your remote repo (git push)
  2. Create a Pull Request to master of this repo by clicking "Create Pull Request" in your forked repo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 61.8%
  • HTML 29.3%
  • JavaScript 7.8%
  • CSS 1.1%