Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearddan2000/python-web-bottle-tdd-basic-auth-hello-world
POC for bottle web framework and basic auth
https://github.com/bearddan2000/python-web-bottle-tdd-basic-auth-hello-world
allure-pytest auth basic bottle hello pytest python requests tdd testify web world
Last synced: 21 days ago
JSON representation
POC for bottle web framework and basic auth
- Host: GitHub
- URL: https://github.com/bearddan2000/python-web-bottle-tdd-basic-auth-hello-world
- Owner: bearddan2000
- Created: 2023-04-16T02:55:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-16T02:55:10.000Z (over 1 year ago)
- Last Synced: 2024-07-30T20:50:12.196Z (5 months ago)
- Topics: allure-pytest, auth, basic, bottle, hello, pytest, python, requests, tdd, testify, web, world
- Language: Shell
- Homepage: https://github.com/bearddan2000/python-web-bottle-tdd-basic-auth-hello-world
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-web-bottle-tdd-basic-auth-hello-world
## Description
POC for bottle web framework and basic auth
using *test driven development* methodolgy.Unit tests done in *pytest* then are covered to *allure test reports*.
Remotely tested with *testify*.
Requires basic authentication for endpoints.
| username | password |
| -------- | -------- |
| *user* | *pass* |## Tech stack
- python
- bottle
- pytest
- allure-pytest
- testify
- requests## Docker stack
- python:latest## To run
`sudo ./install.sh -u`
- Endpoint
- curl -i localhost/ -u "user:pass"## To stop (optional)
`sudo ./install.sh -d`## For help
`sudo ./install.sh -h`## Credit
[Code based on](https://www.geeksforgeeks.org/creating-first-web-application-using-bottle-framework-python/?ref=rp)