diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..25c8fdb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +package-lock.json \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..df7ab03 --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +[![banner](https://raw.githubusercontent.com/oceanprotocol/art/master/github/repo-banner%402x.png)](https://oceanprotocol.com) + +

react-tutorial

+ +> 🦄🦑 React + squid.js interacting in the most minimal way with Ocean Protocol. + +Screen Shot 2019-08-09 at 12 10 50 + +--- + +- [**React Tutorial: React App Setup**](https://docs.oceanprotocol.com/tutorials/react-setup/) +- [**React Tutorial: Publish a Data Set**](https://docs.oceanprotocol.com/tutorials/react-publish-data-set/) +- [**React Tutorial: Get & Use a Data Set**](https://docs.oceanprotocol.com/tutorials/react-get-use-data-set/) + +--- + +## 🦄 CodeSandbox + +[![Edit react-tutorial](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/oceanprotocol/react-tutorial/tree/master/?fontsize=14) + +## 🦑 Get Started Locally + +```bash +git clone git@github.com:oceanprotocol/react-tutorial.git +cd react-tutorial + +npm install +npm start +``` + +Open [http://localhost:3000](http://localhost:3000) in your browser. + +## 🎁 Contributing + +See the page titled "[Ways to Contribute](https://docs.oceanprotocol.com/concepts/contributing/)" in the Ocean Protocol documentation. + +## 🏛 License + +```text +Copyright 2018 Ocean Protocol Foundation Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +``` diff --git a/package.json b/package.json index 66c2a11..a40e031 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "dependencies": { "@oceanprotocol/keeper-contracts": "0.10.3", "@oceanprotocol/squid": "0.6.6", - "react": "16.8.6", - "react-dom": "16.8.6", - "react-scripts": "3.0.1", - "web3": "1.2.1" + "react": "^16.8.6", + "react-dom": "^16.8.6", + "react-scripts": "^3.0.1", + "web3": "^1.2.1" }, "devDependencies": { "typescript": "3.3.3" @@ -27,4 +27,4 @@ "not ie <= 11", "not op_mini all" ] -} \ No newline at end of file +}