* feat: add subscription relation to customer schema and new subscription-related interfaces - Introduced a one-to-one relation for 'subscription' in the customer schema to link customers with their subscriptions. - Added new TypeScript interfaces for subscription-related entities, including Subscription, SubscriptionHistory, SubscriptionPrice, and SubscriptionSetting, ensuring type safety and consistency across the application. * refactor: remove unused fields from subscription schema and TypeScript definitions - Deleted the 'referralCode', 'subscription', 'referralCount', and 'referredBy' fields from the subscription schema to streamline the data model. - Updated TypeScript definitions to reflect these changes, ensuring type safety and consistency across the application. * feat: add 'days' field to subscription price schema and update TypeScript definitions - Introduced a new 'days' integer field in the subscription price schema, marked as required to enhance subscription duration tracking. - Removed unused 'description', 'trialPeriodDays', and 'trialEnabled' fields from the subscription setting schema to streamline the data model. - Updated TypeScript definitions to reflect these changes, ensuring type safety and consistency across the application. * refactor: rename relation fields in customer schema and update TypeScript definitions - Changed 'clients' to 'invited' and 'masters' to 'invitedBy' in the customer schema to better reflect their purpose in the data model. - Updated TypeScript definitions to include the new relation fields, ensuring type safety and consistency across the application. * feat: add subscription_rewards relation to customer and subscription history schemas, and update TypeScript definitions - Introduced a new 'subscription_rewards' relation in both the customer and subscription history schemas to link them with subscription rewards. - Updated the 'expiresAt' field in the subscription schema to be required, ensuring better data integrity. - Adjusted the default value for 'maxOrdersPerMonth' in the subscription setting schema from 30 to 20, and removed unused fields to streamline the model. - Updated TypeScript definitions to reflect these changes, ensuring type safety and consistency across the application. * SubscriptionPrice: rename price -> amount * refactor: remove block-related schemas, controllers, routes, and services - Deleted the block schema, controller, routes, and services to streamline the API structure. - Updated customer and order schemas to remove references to the block relation, ensuring data integrity and clarity. - Adjusted TypeScript definitions to reflect the removal of block-related entities, maintaining type safety across the application. * SubscriptionHistory: change type to string * add new entity customer_setting * subscription settings: add field proEnabled
🚀 Getting started with Strapi
Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.
develop
Start your Strapi application with autoReload enabled. Learn more
npm run develop
# or
yarn develop
start
Start your Strapi application with autoReload disabled. Learn more
npm run start
# or
yarn start
build
Build your admin panel. Learn more
npm run build
# or
yarn build
⚙️ Deployment
Strapi gives you many possible deployment options for your project including Strapi Cloud. Browse the deployment section of the documentation to find the best solution for your use case.
yarn strapi deploy
📚 Learn more
- Resource center - Strapi resource center.
- Strapi documentation - Official Strapi documentation.
- Strapi tutorials - List of tutorials made by the core team and the community.
- Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
- Changelog - Find out about the Strapi product updates, new features and general improvements.
Feel free to check out the Strapi GitHub repository. Your feedback and contributions are welcome!
✨ Community
- Discord - Come chat with the Strapi community including the core team.
- Forum - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- Awesome Strapi - A curated list of awesome things related to Strapi.
🤫 Psst! Strapi is hiring.
Description
Languages
TypeScript
94%
Dockerfile
5.9%