Beefree SDK Cursor rules for TypeScript and JS
These Beefree SDK guidelines are a Cursor rule file for developers embedding the Beefree SDK in a web app. They cover installation, authentication, configuration, customization and template management, so Cursor writes setup code that installs @beefree.io/sdk correctly and keeps the client secret off the browser.
What it does
It lists the npm or yarn install command, the core dependencies such as axios, express, cors and dotenv, and a .env file holding BEE_CLIENT_ID and BEE_CLIENT_SECRET. Authentication must always go through a proxy server, for example a proxy-server.js built with Express.
How to use it
The globs match .ts, .tsx, .js, .jsx, .html and .css files, so the rule is picked up as you build the editor page and its proxy.
Requirements and limits
You need Beefree SDK credentials. The rule is not applied to every file by default.
More in Rules and the Cursor library.
What it covers
- Installation Guidelines
- Package Installation
- Dependencies
- Environment Setup
- Authentication Guidelines
- Proxy Server Setup
- Authentication Process
- Container Setup Guidelines
- HTML Container
- CSS Styling
The full text is in the members library
Book a call and we will give you access to the full Cursor library: every entry in full, search by meaning, copy and download.
Source and license
Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/beefreeSDK.mdc
Author: PatrickJS, Awesome cursorrules. License: CC0-1.0.