Code Monkey home page Code Monkey logo

team-gold-backend's Introduction

TEAM GOLD SUBSCRIBER API

A dockerized micro-service for subscribing to a Saas app

Developer Setup

Follow the following steps to setup your dev environment

Get started with virtual env

Run the following commands to get started using virtualenv

# once - create virtual environment
virtualenv env -p python3.6

activate it

source env/bin/activate

install deps

pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Visit List all the APIs documentation http://localhost:8080/docs/

Visit List all the APIs on localhost http://localhost:8080/api/

A dockerized micro service for a saas app. Our API allows subscriptions to a saas app, it also includes documentation of all allowed operations and you can test it straight from our server. No need for external testers like postman. We use our integrated curl setup to test our endpoints. We store user details, their plans, current subscriptions and all transactions. How To:

  1. All GET requests are to get information(retrieve what has been previously stored). 2 all POST are to add information(create new users, transactions etc.)
  2. All upt requests are to update stored data
  3. Patch is to overwrite.
  4. Delete deletes all stored data. E.g subscription.microapi.dev/api/plan/11/delete will delete a plan with the id 11. {ID} parameters relate to the id of a particular object. Every list, user, transaction and subscriptions are given ids. Use this to access them. Please note that two models can have the same id, since they exist as separate entities. To return data as json, please add /v1.json to the url. It also supports yaml, which can be gotten by appending /v1.json Also, a much more sophisticated doc is available by appending /redoc/.

Team Gold's backend Task.

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.