Admin Area

Pace comes with an admin area for managing your application and users without diving into your database or redeploying your code. The admin area is available at /admin and only accessible to admin users. You can create admin users with the pace:admin command:

node ace pace:admin

Roles

By default, Pace comes with 3 roles (admin, owner, and member). Depending on your application, you can edit, delete them or create new ones entirely.

Users

You can manage users in your application, that is, update their details or delete them.

User impersonation

In addition to managing users, you can also impersonate users from the admin area. This will come in handy for those times you need to experience things from your users' perspective, especially when offering support with issues that might be facing.

To impersonate a user, click on the "Impersonate" button next to each user on the users table. A banner will appear at the top of your application indicating that you're logged in as another user. To stop impersonating the user, click the "Stop impersonate" link in the banner.

Plans

Before you can start billing your users, you need to first create plans that they can subscribe to. To create a plan, you need to first head over to your Paddle account and create the plan. Then in the admin area, you can provide the following details to create a plan:

  • Name: the name of the plan
  • Description: an optional description of the plan
  • Plan ID: plan ID from Paddle
  • Price: the price for the plan
  • Interval: the plan interval which should match that of the plan created on Paddle.
  • Incentive: an optional plan incentive such as "best value", "popular", "save 40%", etc.
  • Features: a comma-separated list of features included in the plan.

Also, you can edit or delete plans.