GithubHelp home page GithubHelp logo

movieapp's Introduction

Tasks:

  1. Complete all the endpoints for CRUD operations on Muzix

  2. Use h2-console to view in-memory data

  3. Add an endpoint to search trackByName. Understand @Query and parameter passing to @Query

  4. Generate API documentation using Swagger 2

  5. Create custom exceptions TrackNotFoundException, TrackAlreadyExistsException in a com.stack....exceptions package. Perform appropriate exception handling and propagation back.

  6. Running Logic on Startup in Spring. Create seed data to pre-fill the database with movie information whenever the application starts. Use both approaches:
    Approach 1: ApplicationListener
    Approach 2: CommandLineRunner (Find out how it differs from ApplicationRunner)

7.Global exception using Controller advice

  1. Remove all hardcoded data from the application code to application.properties
    a) by using @Value.
    b) by using @PropertySource
    c) by using Environment
    d) by using @ConfigurationProperties

  2. Add @Lombok

  3. Create another service implementation TrackDummyServiceImpl. Use @Primary and @Qualifier annotations to specify which implementation to use.

  4. Use @Profile to run the application with the existing service implementation, and the new TrackDummyServiceImpl implementation.

  5. Swap in-memory H2 database with MySQL.

  6. Create two additional properties file application-dev.properties that contains configuration for H2 and application-prod.properties that contains configurations for MySQL.

  7. Use spring developer tool and verify that changes are getting reflected without the need of restarting the server

  8. Use spring boot actuator to collect metrics for your service endpoints

movieapp's People

Contributors

sapatgit avatar

Watchers

 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.