Examples - templates and integrations
Learning through examples is one of the most effective ways to master new technologies. Here we provide practical hands-on examples you can learn from and build on.
Our examples are divided into two main categories:
-
Technology Integrations: Step-by-step guides showing how to integrate Codehooks with popular frameworks and services like React, Next.js, Auth0, and more. These examples demonstrate basic setups and best practices for specific technologies.
-
Template Applications: Complete, production-ready applications you can deploy immediately or use as a foundation for your own projects. These templates include all necessary frontend and backend code, along with detailed documentation.
Technology integrations
React
Next.js
Svelte
GraphQL
mongoDB
ChatGPT
Auth0.com
AWS S3
Mailgun
Alpine.js
Template Applications
Codehooks Analytics
Codehooks Analytics is an open-source web analytics tool for tracking website and app traffic, giving you full control over your data and dashboard. You can deploy it as-is, customize it, or build your own solution.
Unlike third-party services, this tool avoids costly per-event fees, offers real-time data access, and eliminates vendor lock-in. It does not use cookies like most other analytics solutions.
Built with Codehooks.io for the backend and Alpine.js, TailwindCSS, and DaisyUI for the frontend, it's easy to use and modify. The Codehooks.io free Developer plan covers most use cases unless your site is very busy.
- Codehooks.io: Simplifies API and database management.
- Alpine.js: Adds interactivity with minimal complexity.
- TailwindCSS: Enables rapid UI development.
- DaisyUI: Provides pre-built components for faster design.
- OpenAI API: Provides daily AI insights from your data.
All you need to host the whole solution and start tracking your custom analytics data is a codehooks.io project/space and the free Development plan. The source code and complete installation and setup instructions can be found in the Github repository. Feel free to fork it, submit pull requests or give it a star.
Codehooks Authentication
Codehooks Authentication is an open-source authentication library that provides a complete authentication solution for your web applications. Unlike commercial providers, this library gives you full control over your authentication process and user data while maintaining simplicity and ease of use.
Built with security and flexibility in mind, it supports multiple authentication methods including:
- One-time password (OTP) authentication
- OAuth integration (Google and GitHub)
- JWT-based access and refresh tokens
- Email-based user verification
The authentication system integrates seamlessly with:
- Codehooks.io: For backend API and database management
- Multiple email providers: Including Mailgun, Postmark, and SendGrid
- Custom templates: Fully customizable HTML/CSS templates for all auth pages
- OAuth providers: Ready-to-use integrations with major providers
All you need is a codehooks.io project/space to implement a complete authentication system. The source code and complete installation and setup instructions can be found in the Github repository. The library is available as an npm package and includes all necessary templates and assets.