Giter VIP home page Giter VIP logo

kanso-crud's Introduction

This app shows in a minimalistic way how the CRUD operation on CouchDB are made with the Kanso Framework (http://kan.so).

You can do a login and a logout, add a new textphrase, change it and delete it.
No event handling, no error handling, no jquery. Just as simple as possible as a point to start for absolute newbies like me.

/* Short guide to make things running */

0. Things you have should done before:
- Installed CouchDB
- Installed Kanso

1. Go to https://github.com/descartes1/Kanso-CRUD

2. Download the source to your PC

3. Extract the archive you downloaded before

4. You now should see a folder thats named something like "descartes1-Kanso-CRUD-XYZ123"

5. Rename the folder to Kanso-CRUD

Your folder structure should now looks like

Kanso-CRUD (folder)
|
|-lib (folder)
|-static (folder)
|-templates (folder)
|-kanso.json (file)
|-README (file)

6. Open a shell/termial

7. "cd" into the Kanso-CRUD folder, eg. "cd ./Kanso-CRUD"

8. Execute "kanso install"

You now should have a additional folder "packages" in your Kanso-CRUD folder.

9. Execute " kanso push http://yourdbuser:yourdbpass@localhost:5984/crud ".

Make sure, that your user has admin rights.
If you don't have a databaseuser yet, you're probably in "Admin Party"-mode. 

If there is no database named crud in couchdb, it will be generated for you by kanso.

10. Go to http://localhost:5984/crud/_design/crud/_rewrite/ and enjoy.

kanso-crud's People

Contributors

descartes1 avatar lvivier avatar petebacondarwin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.