All Projects → gita → Bhagavadgita

gita / Bhagavadgita

Licence: gpl-3.0
A non-profit initiative to help spread the transcendental wisdom from the Bhagavad Gita to people around the world.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Bhagavadgita

Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+889.29%)
Mutual labels:  api, rest-api, swagger, flask
Flask Restplus Server Example
Real-life RESTful server example on Flask-RESTplus
Stars: ✭ 1,240 (+1376.19%)
Mutual labels:  rest-api, swagger, flask, oauth2
Flasgger
Easy OpenAPI specs and Swagger UI for your Flask API
Stars: ✭ 2,825 (+3263.1%)
Mutual labels:  api, rest-api, swagger, flask
Full Stack
Full stack, modern web application generator. Using Flask, PostgreSQL DB, Docker, Swagger, automatic HTTPS and more.
Stars: ✭ 451 (+436.9%)
Mutual labels:  api, swagger, flask
Safrs
SqlAlchemy Flask-Restful Swagger Json:API OpenAPI
Stars: ✭ 255 (+203.57%)
Mutual labels:  rest-api, swagger, flask
Flask Api Starter Kit
Start a Flask API in less than 5 minutes
Stars: ✭ 296 (+252.38%)
Mutual labels:  api, swagger, flask
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-78.57%)
Mutual labels:  api, rest-api, swagger
Generator Expressjs Rest
Project template for an ExpressJS application
Stars: ✭ 41 (-51.19%)
Mutual labels:  api, rest-api, swagger
Angular Tree Component
A simple yet powerful tree component for Angular (>=2)
Stars: ✭ 1,031 (+1127.38%)
Mutual labels:  open-source, opensource, frontend
Gaanaapi
Unofficial Gaana API
Stars: ✭ 59 (-29.76%)
Mutual labels:  api, rest-api, flask
Rest Hapi
🚀 A RESTful API generator for Node.js
Stars: ✭ 1,102 (+1211.9%)
Mutual labels:  api, rest-api, swagger
Terraformize
Apply\Destory Terraform modules via a simple REST API endpoint.
Stars: ✭ 84 (+0%)
Mutual labels:  api, rest-api, flask
Quora Api
An unofficial API for Quora.
Stars: ✭ 250 (+197.62%)
Mutual labels:  api, rest-api, flask
Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Stars: ✭ 3,448 (+4004.76%)
Mutual labels:  api, rest-api, swagger
Swaggymnia
Generate Swagger 🌀 documentation for your existing API in Insomnia
Stars: ✭ 336 (+300%)
Mutual labels:  api, rest-api, swagger
Flask Restplus
Fully featured framework for fast, easy and documented API development with Flask
Stars: ✭ 2,585 (+2977.38%)
Mutual labels:  api, swagger, flask
Openapi Directory
🌐 Wikipedia for Web APIs. Directory of REST API definitions in OpenAPI 2.0/3.x format
Stars: ✭ 2,635 (+3036.9%)
Mutual labels:  api, rest-api, swagger
Bookmarks.dev
Bookmarks and Code Snippets Manager for Developers & Co
Stars: ✭ 218 (+159.52%)
Mutual labels:  api, rest-api, frontend
Flask Restx
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
Stars: ✭ 1,050 (+1150%)
Mutual labels:  api, swagger, flask
Springdoc Openapi
Library for OpenAPI 3 with spring-boot
Stars: ✭ 1,113 (+1225%)
Mutual labels:  rest-api, swagger, oauth2

Bhagavad Gita

A not-for-profit initiative to help spread the transcendental wisdom from the Bhagavad Gita to people around the world. Built for Gita readers by Gita readers.

⚠️ We are in the process of redesigning the app from scratch for v2 and are actively looking for contributors who would be interested in helping out. Please read the Contributing section below if you are interested.

ℹ️ Repositories for v2

For v2 of BhagavadGita.io, we plan to separate the backend and frontend layers. Hence, the code for backend will be hosted here and that for the frontend will be hosted here.

This repository will host general resources like roadmap, v2 plan, documentation etc for BhagavadGita.io.

Contributing

There are many ways in which you can participate in the project, for example:

If you are interested in, please see the following documents -

Contributors needed -

Please fill out this form if you interested in any of the roles listed below or have suggestions for any other roles.

Developer

Backend, frontend, full-stack devs to build the web application. Android and iOS devs to build android and iOS apps.

Designer

UI and UX designers needed to design the web and mobile apps in order to provide the best possible experience to the user, helping them in reading.

Product manager

to manage the cross-functional team.

SEO expert

to optimize the apps for search engine and app store discovery.

Everyone else interested in contributing.

Suggestions are more than welcome.

Feedback


OLD VERSION (v1)

Frontend and REST API for BhagavadGita.io

Backend - Flask

Frontend - Material Design

Database - PostgreSQL, ElasticSearch

REST API

The Bhagavad Gita Application Programming Interface (API) allows a web or mobile developer to use the Bhagavad Gita text in their web or mobile application(s). It follows some of the Best Practices for designing a REST API.

Current version

The current version of the API is v1. We encourage you to explicitly use this version in the url.

Schema

All API access is over HTTPS, and accessed from https://bhagavadgita.io/api/v1. All data is sent and received as JSON.

Authentication

HTTP requests to the BHAGAVAD GITA API are protected with OAUTH2 authentication. To be able to use the API, you need to be a registered BhagavadGita.io user. After signing in, you can register your applications from your Account Dashboard after which you will be issued a Client ID and Client Secret specific to an application that can be used to programatically get the access_token(valid for 300sec).

How to get an access token? Make a POST request to /auth/oauth/token with these parameters sent in Headers -

  1. Client ID - Obtained from Account Dashboard after registering an app.
  2. Client Secret - Obtained from Account Dashboard after registering an app.
  3. Grant Type - Use client credentials.
  4. Scope - Use verse if you just want to access the verses, chapter if you just want to access the chapters and verse chapter if you want access to both.

Example -

curl -X POST "https://bhagavadgita.io/auth/oauth/token" -H "accept: application/json" -H "content-type: application/x-www-form-urlencoded" -d "client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET&grant_type=client_credentials&scope=verse%20chapter"

Then, you can use the received access_token to access any of the endpoints. You can send the access_token as a header or as a query parameter.

Examples -

  1. Query Parameter

curl -X GET "https://bhagavadgita.io/v1/chapters?access_token=YOUR_ACCESS_TOKEN" -H "accept: application/json"

  1. Header

curl -X GET \ https://bhagavadgita.io/v1/chapters \ -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Documentation

We have 2 types of documenatations available for this API, both based on the Open API specification.

  1. Swagger UI
  2. ReDoc

Developing Locally

  1. Fork this repository and clone the forked repository.
  2. Create and activate a Python 3 virtualenv.
  3. Use pip install -r requirements.txt to install the requirements.
  4. python manage.py runserver to start the server.
  5. Create an environment file config.env. Please open an issue or email [email protected] for the credentials of the file.
  6. Frontend can be accessed at http://127.0.0.1:5000 and API docs can be accessed at http://127.0.0.1:5000/apidocs/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].