This application expands upon the concepts introduced in this article, offering a more complete and up-to-date implementation. While the original tutorial provides a helpful foundation, it’s somewhat unclear in places and relies on a deprecated CASL setup. This repository aims to clarify those gaps and provide a more reliable reference.
- Article is missing
TaskandTaskServiceimplementation code. I created my own Task interface and usedcompletedinstead offinishedso the template code needs to updated accordingly. Use find and replace. - Although the article isn't that old, the CASL implementation is problematic as much of it is deprecated (
Ability,AblePipe, etc). - Added a few error checks / early termination in
server.js. - Styling isn't quite the same. I didn't use the correct Angular Material theme to match the article's screenshots.
- Need to create a Permit.io account. Create a workspace and set the API key Permit generates for the workspace to
PERMIT_API_KEYin an.envfile inside theserverfolder. - Need to run server first ->
cd server / npm startbefore starting the client and visiting localhost:4200. - The deprecated CASL implementation code is available in the client README file.
- Bartosz Pietrucha - Author of the article.