- Clone repository
- Launch pocketbase with
(cd pocketbase && ./pocketbase serve) - Launch frontend with
npm run start - Go to http://localhost:8090/_/ (pocketbase URL) to create a superuser, and a use to create posts
- Go to http://localhost:4200 (Angular frontend URL) to login and test the app
This application uses the following model:
- Models: mirrors the pocketbase backend data associated with models
- Services: abstracts the Pocketbase backend, to allow for future backend changes. The services are injected into components for usage
- Components are reusable pieces of code, used to display content the user. In the current state of the project, components are not reused because I did not see the need for it. But we could imagine reusable components being used in different parent components, in different pages of the website