All Projects → jpzk → django-todo

jpzk / django-todo

Licence: other
A simple todo list REST JSON backend with OAuth2

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to django-todo

VK API
VK API Wrapper - in progress
Stars: ✭ 16 (-64.44%)
Mutual labels:  oauth2
passport-laravel
Telegram Unofficial OAuth2 Provider for Laravel Socialite
Stars: ✭ 26 (-42.22%)
Mutual labels:  oauth2
SampleApp-QuickBooksV3API-Python
Python3 sample app demonstrates how to use Quickbooks API using Flask
Stars: ✭ 38 (-15.56%)
Mutual labels:  oauth2
httpx-oauth
Async OAuth client using HTTPX
Stars: ✭ 55 (+22.22%)
Mutual labels:  oauth2
oxd
Client software to secure apps with OAuth 2.0, OpenID Connect, and UMA
Stars: ✭ 40 (-11.11%)
Mutual labels:  oauth2
spring-batch-admin-ui
Spring Batch Admin 是一个后端采用spring boot 2, spring security , oauth2, Spring data jpa 作为基础框架,集成了quartz 提供调度能力,集成了Spring batch 提供批处理能力的管理系统。系统旨在提供更底层数据展示以及常见批处理的配置以及运行能力。
Stars: ✭ 41 (-8.89%)
Mutual labels:  oauth2
IdentityServerSample
Sample ASP.NET Core MVC and Angular apps and API using Identity Server 4
Stars: ✭ 25 (-44.44%)
Mutual labels:  oauth2
bitnami-docker-oauth2-proxy
Bitnami Docker Image for OAuth2 Proxy
Stars: ✭ 42 (-6.67%)
Mutual labels:  oauth2
azure-functions-auth
Authentication and Authorization for Azure Functions (with OAuth 2.0 and JWT)
Stars: ✭ 20 (-55.56%)
Mutual labels:  oauth2
django-discord-bind
A Django app for binding a user's Discord account to their Django user ID.
Stars: ✭ 17 (-62.22%)
Mutual labels:  oauth2
a12n-server
A ready-to-launch User and Authentication system for those that don't want to build it
Stars: ✭ 324 (+620%)
Mutual labels:  oauth2
jpsite-security-oauth2-open
微服务开放API授权平台
Stars: ✭ 21 (-53.33%)
Mutual labels:  oauth2
genkan
🔑 The future of Kitsu's Authentication
Stars: ✭ 13 (-71.11%)
Mutual labels:  oauth2
spark-platform
Spark 开发平台基于 Spring Cloud Hoxton 、Spring Boot 2.3、 OAuth2 、Security、Nacos、flowable、vue-element前后端分离的脚手架平台。平台包含系统管理(组织机构、角色用户、菜单及按钮授权、数据权限、文件管理、定时任务管理、日志管理),协同管理(待办、已办任务、流程设计、流程管理),代码生成器,分布式事务,完善的系统监控。功能模块采用插拔方式,方便根据自己的业务引入需要的模块。
Stars: ✭ 67 (+48.89%)
Mutual labels:  oauth2
griffin-app-opensource
The Axway Griffin App goes open source!
Stars: ✭ 19 (-57.78%)
Mutual labels:  oauth2
goth fiber
Package goth_fiber provides a simple, clean, and idiomatic way to write authentication packages for fiber framework applications.
Stars: ✭ 26 (-42.22%)
Mutual labels:  oauth2
ms-identity-javascript-react-tutorial
A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in React using MSAL React
Stars: ✭ 100 (+122.22%)
Mutual labels:  oauth2
SimpleOAuth
Simple OAuth 2.0 for Android
Stars: ✭ 15 (-66.67%)
Mutual labels:  oauth2
KeyManager
Android application to manage SSH and GPG keys on GitHub written in Kotlin.
Stars: ✭ 15 (-66.67%)
Mutual labels:  oauth2
Keyist-Ecommerce
🔑 A simple ecommerce site powered with Spring Boot + Angular 10 + Ngrx + OAuth2
Stars: ✭ 220 (+388.89%)
Mutual labels:  oauth2

Django-Todo

This project is part of this tutorial how to implement a simple Todo REST API with Django, Django REST Framework and OAuth2.

Example

Register a User

curl -X POST -d 'username=jpzk&password=yourguess' \
http://localhost:8000/register/

Get Authentication Token

curl -X POST -d \
'username=jpzk&password=yourguess&grant_type=password&client_id=jpzk' \
http://localhost:8000/oauth2/access_token/
 
{"access_token": "41b59e8238bb418c1fc98cfc6f523dd1a7839a03", "token_type":
"Bearer", "expires_in": 2591999, "scope": "read"} 

Create a Todo

curl -X POST -H 'Content-Type: application/json' -H 'Authorization: bearer \
41b59e8238bb418c1fc98cfc6f523dd1a7839a03' -d '{"description":"bake a bread"}' \
http://localhost:8000/todos/ 

Get All Todos

curl -X GET -H 'Content-Type: application/json' \
-H 'Authorization: bearer 41b59e8238bb418c1fc98cfc6f523dd1a7839a03' \
http://localhost:8000/todos/

Update a Todo

curl -X PUT -H 'Content-Type: application/json' \
-H 'Authorization: bearer 41b59e8238bb418c1fc98cfc6f523dd1a7839a03' \
-d '{"description":"bake a bread", "done":"True"}' \
http://localhost:8000/todos/1
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].