Home

Documentation

Contact

Basics

Some functionality and logic of your application might either be reusable across your app or too large to directly locate them in a component (as this might reduce maintainability). For these cases, the Starter Kit has a /client/services directory where you can locate all your service files.

Tip: As the Starter Kit's Next.js frontend is written in TypeScript you should (but don't have to) take advantage of its object oriented features and make your services class based. You can, for example, declare access modifiers for your properties and methods and even use interfaces or abstract classes. For more information visit the TypeScript Docs.