- Quick and easy access to interact with Sync-Gateway documents.
- More features implimented.
view,Edit,Remove,Save,Downlaod,Search
- User Friendly.
- Installation
- Run the project
- Stop the project
- Stop all running containers
- Run test coverage
- Dependencies
- Details
- View Mode
- Edit Mode
- Contributing
- Personal Usage
- MIT License
yarn isntall
yarn start
ctr + c
and then
yarn run docker-down
./docker-kill-all
This script will stop all docker running containers incase if Couchbase/Sync-Gateway ports being used somewhere else on your machine. You can run this script if the App won't start!
yarn run cover
- Langage: React-Redux.
- Frameworks: Material-UI
-
Docker Compose manages running Sync-Gateway and Couchbase Server locally.
-
The data will be populated once the docker finish uploading the bucket "beer-sample." The first time it runs, it takes up to ~50 seconds to run docker script and upload ~7000 documents. The progress bar set for ~55 sec to insure all documents are uploaded.
- It shows a list of documents ID's.
- Ability to
view, edit, remove, download
a document from Sync-Gateway. - Ability to search for a specific document.
- Ability to save the changes into Sync-Gateway.
All contributions and suggestions are welcome!
For suggested improvements, please file an issue.
For direct contributions, please fork the repository and file a pull request. If you never created a pull request before, watch these quick tutorials here.
- Fork it (https://github.com/PacificGasAndElectric/SlipCover/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
If you want to use this project with your own Sync-Gateway:
- modify
manifest.js
to add your own buckets.
bucket: ['beer-sample'],
- Modify
.env
to change your end point.
REACT_APP_SYNC_GATEWAY="http://localhost:4984"
- Remove the scripts from
package.json
.
"prestart": "docker-compose up --build -d",
"docker-down": "docker-compose down",
- Bear in mind that the default behavior of fetch is to ignore the Set-Cookie header completely. To opt into accepting cookies from the server, you must use the credentials option.
For CORS requests, use the "include" value to allow sending credentials to other domains:
fetch('https://example.com:1234/users', {
credentials: 'include'
})
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.