backappx 1.1.4 backappx: ^1.1.4 copied to clipboard
BackAppX Official Package. this package is a part from the backappx BAAS platform that gives you a complete control on your flutter app
This is an example of how to use the package: #
import 'package:backappx/backappx.dart';
void main() {
final backappx = BackAppX();
final email = 'email';
final password = 'password';
final name = 'name';
final description = 'description';
final price = 0;
final category = 'category';
final image = 'image';
final id = 'id';
// User Authentication
backappx.login(email: 'email', password: 'password');
backappx.register(email: 'email', password: 'password');
// Product Management
backappx.createProduct(name: 'name', description: 'description', price: 0, category: 'category', image: 'image');
backappx.updateProduct(id: 'id', name: 'name', description: 'description', price: 0, category: 'category', image: 'image');
// Category Management
backappx.createCategory(name: 'name', description: 'description', image: 'image');
backappx.updateCategory(id: 'id', name: 'name', description: 'description', image: 'image');
}