Skip to content

ashishkpoudel/wonderlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notes app made with Laravel & Angular

This is a work in progress project made to explore ways for building laravel app based on domain folder combined with angular frontend.

To read more about this pattern follow the link:-
https://stitcher.io/blog/organise-by-domain

Laravel app structure

Entries
├── Actions/
├── DTO/
├── Exceptions/
├── Models/
├── Rules/
├── Policies/
└── ValueObjects/

Note: Classes for Controller, Middleware, Form Request will reside in their default folders.

Angular app structure

core
├── interceptors/
├── models/
├── services/
├── utils/

Motivation

PHP 7.4 is getting typed properties, which i'm really excited about. And having a type system provides a lot of value on project of any size, so i thought about experimenting by making this small project.

Conclusion on Laravel Domain folders

As of now this structure is working really well, let's see how it goes when adding more features.

Conclusion on frontend with Angular+Typescript

With typed language you have to write a bit more code, but trust me you'll love this over vanilla javascript. Also style guide provided by Angular team will help you improve your codebase. https://angular.io/guide/styleguide

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published