Git Product home page Git Product logo

backend-server's Introduction

Backend API-Server

Helping people to Arrange items in an efficient way.

Installation

Installation is super friendly using pip

$ pip install 
$ sudo mongod 
$ python app.py

Documentation

This is the layout of the data of json object. Arrangement JSON Object

Arrangement:

{id: a_,

name: _,

owner: _,

users: [ids],

items: [item_objects],

containers: [container_objects],

is_deleted: _,

timestamp: _,

snapshots: [snapshot_objects]

}

API routes for /GET and /POST using python and MongoDB. I include the API specs in this document[https://www.evernote.com/client/snv?noteGuid=befbdd2d-de62-4234-b4f9-24e55cedd5ac&noteKey=eeba35063fe77bbb&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs296%2Fsh%2Fbefbdd2d-de62-4234-b4f9-24e55cedd5ac%2Feeba35063fe77bbb]

Each Containers can have several items for example different kind of car and size. And inside

Example of the Arrangement JSON object:

{ "containers": [ { "id": "cC2CI9MN8", "name": "Jakes van", "size": 8 }, { "id": "cLDJKQ8J1", "name": "nathan van", "size": 8 } ], "id": "aIMBG40VP", "is_deleted": false, "items": [ { "id": "iGH8S90R3", "name": "Jakes", "size": 1 }, { "id": "i7GWRVQIL", "name": "Jakes luggage", "size": 1 }, { "id": "iGN10XW08", "name": "Chin", "size": 1 }, { "id": "i1EWBLGZU", "name": "Nathan", "size": 1 }, { "id": "iWE7MRXXE", "name": "Mikey", "size": 1 } ], "name": "first arrangement", "snapshots": [ { "id": "sDET5Z696", "name": "only snapshot", "snapshot": { "cC2CI9MN8": [ "i197ZJ4GO", "i238HYV07", "i4SLYDFGA" ], "cLDJKQ8J1": [ "iALRIZBJ1", "iJBGT7BJF" ] } } ], "timestamp": 1537928309.756494 }

Postman Collection:

https://www.getpostman.com/collections/4755f28c743b47535215

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.