@aacassandra/parse-lib 中文文档教程
Parse Lib for JavaScript
一个库,可让您从 JavaScript 应用程序访问强大的 Parse Server 后端。 有关 Parse Lib 及其功能的更多信息,请参阅我们的文档。 你可以看到更多关于我们的LICENSE
@aacassandra/parse-lib
提前感谢 Parse Community ????????????,这让我们很容易开源开发商。 Parse Lib 是一个工具,可以帮助您的项目访问 Parse Server,尤其是使用 javascript / nodejs 语言。 Parse Lib 使用大小超过 68kb 的 REST API 库,因此不会加重您的应用程序的性能。
Using Parse on Different Platforms
在 Parse SDK JS 上,JavaScript 生态系统广泛,包含大量平台和执行环境。 为了解决这个问题,Parse npm 模块包含专门为在 Node.js 和 React Native 环境中使用而定制的特殊版本的 SDK,阅读 更多。 但是在 Parse Lib,我们努力使 Parse
的使用更容易,尤其是在 NodeJS 项目中。 到目前为止,Parse Lib 已经支持 2 个框架:
- Vue JS (
Tested
) - React JS (
Tested
) - Angular JS (
Comming soon
) - And others
NodeJS
Project
Features
Parse Lib 功能与 Parse SDK 没有太大区别,只有 Parse Lib 更轻量,因为它使用了 Parse Restful APIs 基础。 以下是 Parse Lib 中可用的函数。
- Object
- ParseCreateObject
- ParseRetrieveObject
- ParseUpdateObject
- ParseDeleObject
- ParseBatch
- Queries
- ParseRetrieveObjects
- ParseRetrieveRelation
- ParseCountingObjects
- Users
- ParseSignUp
- ParseSignIn
- ParseSignOut
- ParseVerifyingEmail
- ParseResettingPassword
- ParseValidateSession
- ParseUpdateUser
- ParseRetrieveUser
- ParseRetrieveUsers
- ParseDeleteUser
- Session
- ParseCreateSession
- ParseRetrieveSession
- ParseUpdateSession
- ParseRetrieveSessions
- ParseDeleteSession
- Roles
- ParseCreateRole
- ParseRetriveRole
- ParseUpdateRole
- ParseDeleteRole
- Files
- ParseUploadFile
- ParseDeleteFile
- Live Query
- ParseLiveQuery
Install
将其安装在您的项目根目录中。
npm i @aacassandra/parse-lib
Usage
您可以阅读有关文档
Development
的更多信息。想要贡献吗? 伟大的!
要修复错误或增强现有模块,请按照以下步骤操作:
- Fork the repo
- Create a new branch (git checkout -b improve-feature)
- Make the appropriate changes in the files
- Add changes to reflect the changes made
- Commit your changes (git commit -am 'Improve feature')
- Push to the branch (git push origin improve-feature)
- Create a Pull Request
LICENSE
MIT License
Copyright (c) 2019 Alauddin Afif Cassandra
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Parse Lib for JavaScript
A library that gives you access to the powerful Parse Server backend from your JavaScript app. For more information on Parse Lib and its features, see our documentations. And you can see more about our LICENSE
@aacassandra/parse-lib
Thanks in advance to the Parse Community ????????????, which makes it easy for us open source developers. Parse Lib is a tool that will facilitate your project to access Parse Server, especially with the javascript / nodejs language. Parse Lib uses a base of REST API with a size of more than 68kb, so that it will not aggravate the performance of your application.
Using Parse on Different Platforms
On the Parse SDK JS, The JavaScript ecosystem is wide and incorporates a large number of platforms and execution environments. To handle this, the Parse npm module contains special versions of the SDK tailored to use in Node.js and React Native environments, read more. But at Parse Lib, we strive to make it easier to use Parse
especially in the NodeJS project. Until now Parse Lib has supported 2 frameworks:
- Vue JS (
Tested
) - React JS (
Tested
) - Angular JS (
Comming soon
) - And others
NodeJS
Project
Features
The Parse Lib function is not much different from the Parse SDK, only Parse Lib is lighter because it uses the Parse Restful APIs base. Following are the functions available at Parse Lib.
- Object
- ParseCreateObject
- ParseRetrieveObject
- ParseUpdateObject
- ParseDeleObject
- ParseBatch
- Queries
- ParseRetrieveObjects
- ParseRetrieveRelation
- ParseCountingObjects
- Users
- ParseSignUp
- ParseSignIn
- ParseSignOut
- ParseVerifyingEmail
- ParseResettingPassword
- ParseValidateSession
- ParseUpdateUser
- ParseRetrieveUser
- ParseRetrieveUsers
- ParseDeleteUser
- Session
- ParseCreateSession
- ParseRetrieveSession
- ParseUpdateSession
- ParseRetrieveSessions
- ParseDeleteSession
- Roles
- ParseCreateRole
- ParseRetriveRole
- ParseUpdateRole
- ParseDeleteRole
- Files
- ParseUploadFile
- ParseDeleteFile
- Live Query
- ParseLiveQuery
Install
Install this in your project root directories.
npm i @aacassandra/parse-lib
Usage
You can read more about documentations
Development
Want to contribute? Great!
To fix a bug or enhance an existing module, follow these steps:
- Fork the repo
- Create a new branch (git checkout -b improve-feature)
- Make the appropriate changes in the files
- Add changes to reflect the changes made
- Commit your changes (git commit -am 'Improve feature')
- Push to the branch (git push origin improve-feature)
- Create a Pull Request
LICENSE
MIT License
Copyright (c) 2019 Alauddin Afif Cassandra
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
See more about LICENSE