Monday, April 17, 2017

B.A.S.S - Boot Angular Secure Starter

As this is a post related to a project "starter", I decided this time to rather have most of the details in the README.md on github rather than here on my blog.

To skip my ramblings: https://github.com/bdupreez/bass

I have recently done a couple little side projects and proof of concepts, all in Angular 2 (or 4 or whatever someone calls it), all using Spring Boot, all requiring some sort of authentication.

With both Spring and Angular teams iterating and releasing so quickly I found that by the time I got to a new POC I often had to do a number of updates and some of the projects brought in their own unnecessary complications, so it would take longer than I like to get started with the new POC, and therefore I decided it get back to a barebones implementation.

Hopefully it proves helpful to someone that requires an quickstart full stack Angular / Spring application.

It can extended and deployed as required.

One choice I would like to mention as it might not be to everyone's taste is the idea of having the Angular application as a Spring boot application rather than just deploying the static content to Nginx or Apache, and if you're looking to deploy this in a high volume production environment, you'd probably want to relook at that.
The reason I did this was just as convenience for myself. I liked having the whole app deployed as 3 self contained jars and drive both backend and ui configuration from one spring profile environment variable. Of course as this already does contain some of the Spring cloud dependancies, it would be simple enough to include Service discovery with Eureka and a Config Server, but for quickstarter... running 5 or 6 boot applications for a simple web ui might be overkill :)

More details on Github Project README.md

24 comments:

  1. The iPad Pro 2 is definitely one of the most anticipated tablets to hit the market this year. With a 12.9-inch screen and a

    price tag of $799, the iPad Pro 2 is conveniently placed against the Samsung Tab S3. We believe that the price tag will not be

    a deterrent for such a quality device
    iPad Pro 2 Price

    ReplyDelete
    Replies
    1. IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Projects for CSE It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
      Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai


      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. The KingRoot application lets you root your Android smartphone or tablet pretty quickly. To root your device, all you have to do is download KingRoot apk from here

    ReplyDelete
  3. Valuable tips we can find here.

    ReplyDelete
  4. I am very glad that I got to this site

    ReplyDelete
  5. Got the fab post that is nice to read and I am so delighted to have this wonderful article.

    ReplyDelete
  6. What a right that is right! Well, you described it, I like it!

    ReplyDelete
  7. Buy the best garden sheds nz online in Newzealand. We provide you quality products at low prices. Treasurebox
    also provide you home delievery services in Auckland Newzealand.

    ReplyDelete
  8. I would like to thank you for the efforts you have put in writing this Magic Mesh Door Coverblog. I’m hoping the same high-grade blog post from you in the future also. Actually your creative writing abilities has inspired me to get my own screen door instant website going now. Actually blogging is spreading its wings and growing fast. Your write up is a great example. new york website design company

    ReplyDelete
  9. I’ve writers block that comes and goes and I need to find a way to get rid of my writers block. It can occasionally be so bad I can barley make sentences. Any tips? website designer nyc

    ReplyDelete
  10. Very interesting details you have mentioned , thanks for posting . branding agency sf

    ReplyDelete
  11. Great post, you have pointed out some good details , I too conceive this s a very wonderful website. branding agencies in san francisco

    ReplyDelete
  12. I am truly getting a charge out of perusing your elegantly composed articles. It would seem that you burn through a ton of energy and time on your blog. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome.Data science course in malaysia

    ReplyDelete
  13. This is a great motivational article. In fact, I am happy with your good work. They publish very supportive data, really. Continue. Continue blogging. Hope you explore your next postdata science course in delhi

    ReplyDelete
  14. This is a great motivational article. In fact, I am happy with your good work. They publish very supportive data, really. Continue. Continue blogging. Hope you explore your next post

    ReplyDelete
  15. I think I have never watched such online diaries ever that has absolute things with all nuances which I need. So thoughtfully update this ever for us.
    PMP

    ReplyDelete
  16. Great to become visiting your weblog once more, it has been a very long time for me. Pleasantly this article i've been sat tight for such a long time. I will require this post to add up to my task in the school, and it has identical subject along with your review. Much appreciated, great offer.
    https://360digitmg.com/course/data-analytics-using-python-r

    ReplyDelete

  17. Your site is truly cool and this is an incredible motivating article.
    hrdf scheme

    ReplyDelete
  18. Super site! I am Loving it!! Will restore again, Im taking your food moreover, Thanks.
    what is hrdf claimable

    ReplyDelete
  19. I also have saved you to look at new information in your site.
    data science institute in hyderabad

    ReplyDelete
  20. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.

    data analytics course in hyderabad

    ReplyDelete
  21. Its most perceptibly horrendous piece was that the item just workedspasmodically and the data was not exact. You unmistakably canot confront anyone about what you have found if the information isn't right.
    https://360digitmg.com/india/artificial-intelligence-ai-and-deep-learning-in-delhi

    ReplyDelete

Popular Posts

Followers