Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@cocreate/cocreatews
Advanced tools
Server Side for CoCreateJS. Containing websocket, crud, auth, server side rendering, and permission components.
Server Side for CoCreateJS. Containing websocket, crud, auth, server side rendering, and permission components.
$ npm i @cocreate/cocreatews
$ yarn add @cocreate/cocreatews
MongoDB URL is required in CoCreate.config.js param db_url to succesfully start the server. You can use the dbUrl generated by MongoDB atlas or a localhost url by installing MongoDB locally.
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Use your prefered proxy server: nginx, apache, etc
$ npm install
$ yarn install
In CoCreate.config.js add your organization and user data, then run createdb to create the first organization and user.
$ npm createdb
$ yarn createdb
$ npm start
$ yarn start
<!DOCTYPE html>
<html lang="en">
<body class="padding:5px">
<form collection="test" document_id="">
<input placeholder="Name" name='firstname' class="floating-label">
<h1 name='lastname' contenteditable></h1>
</form>
<script>
var config = {
apiKey: '<apiKey from CoCreate.config.js>',
organization_id: '<organization_id from CoCreate.config.js>',
host: '<Your CoCreateWS domain>'
};
</script>
<script src="/dist/CoCreate.js"></script>
</body>
</html>
Paste in your browsers console
crud.readDocument({
collection: "test",
document_id: ""
})
All updates to this library are documented in our CHANGELOG and releases. You may also subscribe to email for releases and breaking changes.
If you are interested in the future direction of this project, please take a look at our open issues and pull requests. We would love to hear your feedback.
CoCreateWS is guided and supported by the CoCreate Developer Experience Team.
Please Email the Developer Experience Team here in case of any queries.
CoCreateWS is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create issues and pull requests or merely upvote or comment on existing issues or pull requests.
We appreciate your continued support, thank you!
Server Side Public License (SSPL)
For-profit companies and individuals intending to use CoCreateWS for commercial use must purchase a commercial license. This license allows source code modifications, but does not permit redistribution of modifications.
The commercial license is designed for you to use CoCreateWS in commercial products and applications, without the provisions of the SSPL. With the commercial license, your code is kept propietary, to yourself. If you want to use CoCreateWS to develop commercial sites, themes, projects, and applications, the commercial license is the appropriate license.
FAQs
Server Side for CoCreateJS. Containing websocket, crud, auth, server side rendering, and permission components.
The npm package @cocreate/cocreatews receives a total of 55 weekly downloads. As such, @cocreate/cocreatews popularity was classified as not popular.
We found that @cocreate/cocreatews demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.