Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/regenduft/Karte_von_morgen_Rails
Karte von morgen Api / Backend
https://github.com/regenduft/Karte_von_morgen_Rails
Last synced: 5 days ago
JSON representation
Karte von morgen Api / Backend
- Host: GitHub
- URL: https://github.com/regenduft/Karte_von_morgen_Rails
- Owner: regenduft
- Created: 2014-11-10T05:45:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-25T16:57:30.000Z (over 9 years ago)
- Last Synced: 2024-08-02T12:49:25.403Z (3 months ago)
- Language: Ruby
- Size: 441 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
- awesome-starred - regenduft/Karte_von_morgen_Rails - Karte von morgen Api / Backend (others)
README
== README
This will be a replacement for the backend part of the onYOURway project
(https://github.com/art-ist/onYOURway/tree/master/onYOURway)"Karte von morgen" (http://kartevonmorgen.org, description: http://bildungsagenten.com/map/)
will share its code with the onYOURway project.
The javascript / html / css frontend code will stay in the onYOURway repository.The api / backend for onYOURway uses Microsoft .NET entity framework and LINQ.
This project will be a replacement based on open source software.=== Database
- Initialize: run bin/rake setup
- Changes: add to folder /db/migrate=== Urls
* http://petricho.arcturus.uberspace.deTo TEST the REST API you may use this tool:
* http://petricho.arcturus.uberspace.de/okapi.html
=== API CALLS
* GET /entries
* GET /entries/$SEARCHTERMS - finds by name, city, category-names, space-separated search terms, results contain ALL searchterms
* POST /entries - add
* PUT /entries/$ID - change* GET /categories
* POST /categories - add
* PUT /categories/$ID - change
To add or change you will need to login via* POST /admin/login
You may POST {"user":"kvm", "password":"***"} in conjuction with header
* Content-Type: application/json
or just post a www-form with the same user/password combination.You'll need to replace *** with the correct password.