Nextjs With Pocketbase

screenshot of Nextjs With Pocketbase
nextjs
react
tailwind
nextui
pocketbase

My Next.js (without app directory) Boilerplate with Pocketbase Backend.

Overview

The "Next.js without app directory starter kit" is a boilerplate for the stable version of Next.js, without the app directory. It is powered primarily by Pocketbase and offers several key features for frontend and backend development.

Features

  • Next.js for frontend: The boilerplate utilizes Next.js, a popular React framework, for building the frontend of the application.
  • Pocketbase for backend: Pocketbase is the main backend solution used in this starter kit. It provides an easy way to set up and manage the backend functionality of the application.
  • Pocketbase for database: The boilerplate integrates Pocketbase for database management, allowing users to store and retrieve data efficiently.
  • Pocketbase for authentication: This starter kit includes Pocketbase's authentication functionality, enabling secure user authentication and session management.
  • Pocketbase for image hosting: Users can host and manage images directly through Pocketbase, making it convenient for image-related tasks in the application.
  • NextUI: The boilerplate incorporates NextUI, which is a UI library built specifically for Next.js applications. It offers a set of ready-to-use components for building the user interface.
  • TailwindCSS: TailwindCSS, a highly customizable CSS framework, is integrated into the boilerplate to provide styling options for the application.
  • NextUIReact-Icons: The boilerplate includes NextUIReact-Icons, which provides a wide range of icons that can be used in the application.
  • Dark-Mode with NextUI and next-themes: NextUI and next-themes are utilized to implement a dark mode feature in the application, allowing users to switch between light and dark themes.
  • Internationalization with next-translate: The boilerplate includes next-translate, a localization library, to facilitate internationalization in the application.
  • Formik and Yup: The boilerplate integrates Formik and Yup, libraries that simplify form handling and validation, making it easy and hassle-free to create forms.
  • Custom authentication flow with Pocketbase: The starter kit offers a custom authentication flow, leveraging the capabilities of Pocketbase for implementing a secure authentication system.
  • Custom basic user system: The boilerplate includes a basic user system that is a work in progress, allowing users to manage basic user-related functionalities.

Summary

The "Next.js without app directory starter kit" is a boilerplate that provides a stable version of Next.js without the app directory. Powered by Pocketbase, it offers a range of features for frontend and backend development, including NextUI for building the user interface, Pocketbase for backend and database management, and custom authentication flow. With additional features like internationalization and form handling, this starter kit serves as a convenient foundation for building Next.js applications.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

nextui
NextUI

NextUI is a UI library for React that helps you build beautiful and accessible user interfaces. Created on top of Tailwind CSS and React Aria.

pocketbase
PocketBase

PocketBase is an open-source backend consisting of embedded SQLite database with realtime subscriptions, built-in auth management, file storage, and an admin dashboard - all in a single portable executable.

Dark Mode

Dark mode is a user interface option that uses a dark color scheme instead of light. It reduces eye strain and improves visibility in low-light conditions. Implementing dark mode in a website or application involves updating the styles and color palette to support both light and dark modes.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.