https://github.com/depermitto/gs-hackathon
Finalist Beton SKM solution to Goldman Sachs Hackathon Warsaw 13th December event.
https://github.com/depermitto/gs-hackathon
fastapi hackathon python react sqlinjection vulnerability-detection
Last synced: 4 months ago
JSON representation
Finalist Beton SKM solution to Goldman Sachs Hackathon Warsaw 13th December event.
- Host: GitHub
- URL: https://github.com/depermitto/gs-hackathon
- Owner: Depermitto
- License: mit
- Created: 2024-12-13T18:20:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-14T08:52:43.000Z (over 1 year ago)
- Last Synced: 2025-04-04T20:39:24.352Z (about 1 year ago)
- Topics: fastapi, hackathon, python, react, sqlinjection, vulnerability-detection
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vulnerability analysis
## Setting up backend
1. Install poetry. One of the options is using `pipx`:
```shell
pipx install poetry
```
2. Setup project files:
```shell
poetry install
```
3. Run webserver:
```shell
poetry run python backend
```
After that, you can access API at `http://127.0.0.1:8000/`
## Setting up frontend
**Attention:** `npm` has to be installed.
```shell
cd frontend
npm install
npm run dev
```
After that, you can access site at `127.0.0.1:5173`
## Example API
**Attention:** `docker` has to be installed.
```shell
docker run --rm -p 5000:5000 erev0s/vampi:latest
curl -X 'GET' 'http://127.0.0.1:5000/createdb' -H 'accept: application/json'
```
After that, you can access the API documentation at `127.0.0.1:5000/ui`