How organize your folders in Angular

 

How many times you asked how organize your folders in angular? I used to give this responsibility, to angular client, but when I have been work, when in bigger projects, I needed a best form to sort my projects, in this post I show one possibility to sort your projects let start!

The folder structure

We need make, four main folders auth, pages, shared, in the folder auth you will put authenticate options for e.g.. Login and register. On the folder "pages" you will put your pages, and finally, on the folder shared you could put information’s shared for all application by way of illustration you could put templates folder, finally on folder 404 you have to put the pages for not found direction.

You can see the next tree graph to illustrate the folder organization




It is enough for this article, in the next section we check how organize the routes thanks for read bye!


Comments

Popular posts from this blog

FILE SERVER

Kubernates configMaps and Volumes

Kubernates Intro