Kottster is a free tool to help developers quickly build and deploy admin panels. In just 5 minutes, you can generate a fully functional admin panel, deploy it to the cloud, and share it with your team.
When you build apps with Kottster, they run on Remix, a web framework for creating full-stack apps using React and Node.js environment.
In this article, I'll show you how to create a Kottster app, connect it to your database, generate pages for specific tables, and host it anywhere.
Creating a project
Before you begin, make sure Node.js (v20 or higher) is installed on your machine.
To create a new project, run this command:
npx @kottster/cli new
You’ll be asked for a project name, whether you want to use JavaScript or TypeScript, and which package manager to use. After that, a new project folder will be created with everything you need to get started.
To start the app locally, open the created folder and run npm run dev:
When the app loads, you'll see the login page. Click “Create an account” to sign up on Kottster. After signing up, enter a name for your app and click “Create app”. This will create your app and log you in.
Once everything is set up, you’ll see the “Getting started” page:
Connect your database
On the Getting Started page, choose your database type, enter the connection details, and click “Connect”.
This will install the necessary packages and create a file with a data source connected to your database in your project folder.
Please notice that with your app being self-hosted, your credentials always remain private, and the Kottster tool doesn’t have access to your database.
Generate pages
After connecting your database, you'll see the “Generate pages” tab:
This page helps you quickly create pages to view or manage data from your database tables.
If you enable “Allow insert” or “Allow update”, forms for adding and updating records will be available. Enabling “Allow delete” will add the ability to delete records.
Once you've made your selections, click "Generate pages". The tool will automatically generate the page files and update the sidebar menu with new items.
How pages?work
Each page in your admin panel is located in the app/routes directory. These pages are essentially Remix routes that serve as both the UI and API, and you can customize them however you like.
Each page file in the Kottster app should export a React component,
When you generate a page for a specific database table, it will include the following:
- A Remix action that calls the createTableRpc function. This function controls the table's behavior and enables its features.
- A
component, which is closely tied to the createTableRpc settings defined in the action.
Example of a generated page for the "users" table:
npx @kottster/cli new
You can learn more about createTableRpc and the
component in our documentation. I also recommend learning more about Remix and its Fullstack Data Flow in their official documentation.
Deployment
When you're ready, you can deploy your Kottster app to make it available online. Before deploying, ensure the app is properly built and free of errors.
To do this, build your app locally by running npm run build:
If there are no errors, your app is ready to go live. Since it's self-hosted, you can deploy it anywhere you like. Learn more about deployment options here.
Deploying to Vercel for?free
In this article, I'll cover one of the most popular free options: deploying a Kottster app to Vercel.
Start by signing up for an account at vercel.com if you don't already have one. Once logged in, click "New Project" and connect your repository containing the app you built.
After selecting your repository, click "Deploy". In just a few moments, your app will be live on a free Vercel domain.
Once your app is live, you can open it and log in to your account.
That's it! Your admin panel is now available online.
You can now share it with your team. To do this, click "Manage accesses" in the left sidebar of your app. This will open a page where you can set up access for other users by entering their email addresses.
Final notes
You can learn more about Kottster on our website: kottster.app
If you have any questions or need help, check out our documentation, visit our GitHub repository, or join our Discord community to ask questions and share your feedback.
Thanks for reading, and good luck with your project!
The above is the detailed content of Create an Admin Panel for your project in inutes. For more information, please follow other related articles on the PHP Chinese website!
Statement of this WebsiteThe content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cnHot AI Tools
Undress AI Tool
Undress images for free
Undresser.AI Undress
AI-powered app for creating realistic nude photos
AI Clothes Remover
Online AI tool for removing clothes from photos.
Clothoff.io
AI clothes remover
Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!
Hot Article
Guide: Stellar Blade Save File Location/Save File Lost/Not Saving3 weeks ago By DDDOguri Cap Build Guide | A Pretty Derby Musume2 weeks ago By Jack chenAgnes Tachyon Build Guide | A Pretty Derby Musume1 weeks ago By Jack chenDune: Awakening - Advanced Planetologist Quest Walkthrough3 weeks ago By Jack chenDate Everything: Dirk And Harper Relationship Guide3 weeks ago By Jack chenHot Tools
Notepad++7.3.1
Easy-to-use and free code editor
SublimeText3 Chinese version
Chinese version, very easy to use
Zend Studio 13.0.1
Powerful PHP integrated development environment
Dreamweaver CS6
Visual web development tools
SublimeText3 Mac version
God-level code editing software (SublimeText3)
Hot Topics
Java vs. JavaScript: Clearing Up the Confusion Jun 20, 2025 am 12:27 AM
Java and JavaScript are different programming languages, each suitable for different application scenarios. Java is used for large enterprise and mobile application development, while JavaScript is mainly used for web page development.
Javascript Comments: short explanation Jun 19, 2025 am 12:40 AM
JavaScriptcommentsareessentialformaintaining,reading,andguidingcodeexecution.1)Single-linecommentsareusedforquickexplanations.2)Multi-linecommentsexplaincomplexlogicorprovidedetaileddocumentation.3)Inlinecommentsclarifyspecificpartsofcode.Bestpractic
How to work with dates and times in js? Jul 01, 2025 am 01:27 AM
The following points should be noted when processing dates and time in JavaScript: 1. There are many ways to create Date objects. It is recommended to use ISO format strings to ensure compatibility; 2. Get and set time information can be obtained and set methods, and note that the month starts from 0; 3. Manually formatting dates requires strings, and third-party libraries can also be used; 4. It is recommended to use libraries that support time zones, such as Luxon. Mastering these key points can effectively avoid common mistakes.
JavaScript vs. Java: A Comprehensive Comparison for Developers Jun 20, 2025 am 12:21 AM
JavaScriptispreferredforwebdevelopment,whileJavaisbetterforlarge-scalebackendsystemsandAndroidapps.1)JavaScriptexcelsincreatinginteractivewebexperienceswithitsdynamicnatureandDOMmanipulation.2)Javaoffersstrongtypingandobject-orientedfeatures,idealfor
Why should you place tags at the bottom of the ? Jul 02, 2025 am 01:22 AM
PlacingtagsatthebottomofablogpostorwebpageservespracticalpurposesforSEO,userexperience,anddesign.1.IthelpswithSEObyallowingsearchenginestoaccesskeyword-relevanttagswithoutclutteringthemaincontent.2.Itimprovesuserexperiencebykeepingthefocusonthearticl
JavaScript: Exploring Data Types for Efficient Coding Jun 20, 2025 am 12:46 AM
JavaScripthassevenfundamentaldatatypes:number,string,boolean,undefined,null,object,andsymbol.1)Numbersuseadouble-precisionformat,usefulforwidevaluerangesbutbecautiouswithfloating-pointarithmetic.2)Stringsareimmutable,useefficientconcatenationmethodsf
What is event bubbling and capturing in the DOM? Jul 02, 2025 am 01:19 AM
Event capture and bubble are two stages of event propagation in DOM. Capture is from the top layer to the target element, and bubble is from the target element to the top layer. 1. Event capture is implemented by setting the useCapture parameter of addEventListener to true; 2. Event bubble is the default behavior, useCapture is set to false or omitted; 3. Event propagation can be used to prevent event propagation; 4. Event bubbling supports event delegation to improve dynamic content processing efficiency; 5. Capture can be used to intercept events in advance, such as logging or error processing. Understanding these two phases helps to accurately control the timing and how JavaScript responds to user operations.
What's the Difference Between Java and JavaScript? Jun 17, 2025 am 09:17 AM
Java and JavaScript are different programming languages. 1.Java is a statically typed and compiled language, suitable for enterprise applications and large systems. 2. JavaScript is a dynamic type and interpreted language, mainly used for web interaction and front-end development.