packages/app-store/
“
Steps in creating an app
1
Create app
Create the app using the
create-app
command. The app can be installed now, but at this moment it isn’t doing anything. It is just installed and ready to do what you want it to do.2
Adding the functionalities
There is pretty much no restriction on what an App can do. For example:
- Hooking into existing functionalities to enhance them - In all these cases you need to first check if the app is installed or not. There is
_useApp(appSlug)_
react hook to do that. It gives you the app details if the app is installed. - Apps that need to connect with third parties like Google Calendar, Apple Calendar, Google Meet.
- A very powerful app that has its own data and pages - Routing Forms App is a great example of this.
- There are other powerful apps already in the App Store that you can get an idea of the capabilities of apps.
Structure
All apps can be found underpackages/app-store
. In this folder is _baseApp
which shows the general structure of an app.
Other Commands
Deleting an app:Important Points
-
Make sure to have
yarn app-store:watch
command running when developing an app so that autogenerated files are always up to date. - If app-store cli fails at this step, try to run this command manually first. Solve that problem and then re-run cli. The command can fail because there are Prisma migrations that can’t be applied automatically.

-
When you edit an app following things aren’t updated.
- README.mdx - It would still have the old description. Feel free to edit it manually.