Quick Start
What Is BytePower
BytePower is a powerful serverless mobile application accelerator. It is a BaaS service platform with unified functions and data. The functional services include Account, Asset, Storage, Short Message, Push, etc.; the data services include Weather, IP2Location, etc.; the product provides an interface to target users. With the Console platform, users access related functions through the interface; function configuration, data statistical analysis, etc. through the Console.
Create Your First App
BytePower’s project organization form is Application. After registering an account in BytePower Console(For China service, please visit BytePower China), you can create any Workspace, and then create a new Application in Workspace.
The basic information you need to provide when creating a Workspace includes:
Workspace Name
: This is the unique identifier of your Workspace. Once set, it cannot be changed. Legal names are allowed to use uppercase and lowercase letters, numbers, dashes, underscores, and spaces are not allowed in the name.Description
: This is your Workspace description. You can add it when you create a Workspace, or you can add or modify it later.Member
: You can invite existing BytePower users as administrators to manage your Workspace with you when you create a Workspace, or you can invite members to join later.
The basic information you need to provide when creating an application includes:
Application Name
: This is the unique identifier of your Application. Once set, it cannot be changed. Legal names are allowed to use uppercase and lowercase letters, numbers, dashes, and underscores. Spaces are not allowed in the name.Description
: This is your Application description. You can add it when you create the Application, or you can add or modify it later.Member
: You can invite existing BytePower users as collaborators of your application while creating the Application, or invite members to join later. There are two types of Application collaborators:Editor
: Have operation and read and write permissions on the configuration and data of the Application.Viewer
: Only the permission to view the configuration and data of the application, cannot be modified or written.
WARNING
Workspace Name and Application Name are used as unique identifiers. Once set, they cannot be changed. If you think that the name is inappropriate after creation, you can delete Workspace or Application and recreate it. When you perform a delete operation after using the BytePower service for a period of time, you will lose the data generated during your use.
When you create an Application, BytePower generates some basic information for your application:
Key ID: 2f57xxxxxxxxf40a1
Key secret: 58f07f00xxxxxxxx61307bbb87f59e
The above information will be used for authentication operations using the API when accessing BytePower, please keep it safe and not leak it to others.
Access to BytePower
curl -X "POST" "http://xxx.bytepowerapp.cn/bp/user/login" \
-H 'X-BytePower-Sign: {sign},{timestamp},{key_id}' \
-H 'Content-Type: application/json: charset=utf-8' \
-d $'{"anonymity":{"local_uid":"xxx"}}'
Explore BytePower Features
BytePower provides you with many out-of-the-box features for developing a serverless mobile application. You can explore the services that have been launched in the Console and access them through the API.