https://github.com/austinjhunt/django-rest-framework-api-template
Django REST Framework API template with pre-built logic for token-based auth, AWS Cloudwatch logging, Sentry and Slack error reporting, Stripe payment processing, ReCAPTCHA verification, password management, profile editing, logging middleware, and more. Topics
https://github.com/austinjhunt/django-rest-framework-api-template
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Repository
Django REST Framework API template with pre-built logic for token-based auth, AWS Cloudwatch logging, Sentry and Slack error reporting, Stripe payment processing, ReCAPTCHA verification, password management, profile editing, logging middleware, and more. Topics
Basic Info
- Host: GitHub
- Owner: austinjhunt
- Language: Python
- Default Branch: main
- Size: 61.5 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Django REST API - Project Template
This repo contains a template Django project with templated logic for authentication, password management, Stripe payment processing, profile editing, Google ReCAPTCHA token verification, AWS Cloudwatch logging, Slack webhook-driven error alerting, Sentry monitoring, and more. It contains pre-written tests for authentication, password management, and profile (user model extension) management.
Logging
It contains middleware that logs all incoming requests.
All logging is done in a standard JSON format, e.g.,
```python logger.info({ 'action': 'ViewName.methodName', 'arg1': arg1Value, 'arg2': arg2Value })
... except Exception as e: logger.error({ 'action': 'ViewName.methodName', 'error': str(e) })
```
Primary Use Case
You can use this template as a foundation for a Django REST Framework API that uses token-based authentication.
Using the Template
Clone the repository. Copy the sample environment variable file .env-sample to your own .env file in the same directory and replace the CHANGEME values in the file with values specific to your project.
Owner
- Name: Austin Hunt
- Login: austinjhunt
- Kind: user
- Location: Greenville, SC
- Company: College of Charleston
- Website: https://austinjhunt.com
- Twitter: austinsketches
- Repositories: 20
- Profile: https://github.com/austinjhunt
Portrait-artist-turned-computer-geek with a fused love for the visual and the technical, bringing experience with and excitement for web dev, automation, & art
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Austin Hunt | a****s@g****m | 20 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0