dependabot[bot] 67747bbe07 Bump axios from 1.3.4 to 1.4.0 in /frontend (#195)
Bumps [axios](https://github.com/axios/axios) from 1.3.4 to 1.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.4.0</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>formdata:</strong> add <code>multipart/form-data</code>
content type for FormData payload on custom client environments; (<a
href="https://redirect.github.com/axios/axios/issues/5678">#5678</a>)
(<a
href="bbb61e70cb">bbb61e7</a>)</li>
<li><strong>package:</strong> export package internals with unsafe path
prefix; (<a
href="https://redirect.github.com/axios/axios/issues/5677">#5677</a>)
(<a
href="df38c949f2">df38c94</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>dns:</strong> added support for a custom lookup function;
(<a
href="https://redirect.github.com/axios/axios/issues/5339">#5339</a>)
(<a
href="2701911260">2701911</a>)</li>
<li><strong>types:</strong> export <code>AxiosHeaderValue</code> type.
(<a
href="https://redirect.github.com/axios/axios/issues/5525">#5525</a>)
(<a
href="726f1c8e00">726f1c8</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>merge-config:</strong> optimize mergeConfig performance by
avoiding duplicate key visits; (<a
href="https://redirect.github.com/axios/axios/issues/5679">#5679</a>)
(<a
href="e6f7053bf1">e6f7053</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+151/-16
([#5684](https://github.com/axios/axios/issues/5684)
[#5339](https://github.com/axios/axios/issues/5339)
[#5679](https://github.com/axios/axios/issues/5679)
[#5678](https://github.com/axios/axios/issues/5678)
[#5677](https://github.com/axios/axios/issues/5677) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a
href="https://github.com/arthurfiorette" title="+19/-19
([#5525](https://github.com/axios/axios/issues/5525) )">Arthur
Fiorette</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/npiyush97"
title="+2/-18 ([#5670](https://github.com/axios/axios/issues/5670)
)">PIYUSH NEGI</a></li>
</ul>
<h2>Release v1.3.6</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> added transport to RawAxiosRequestConfig (<a
href="https://redirect.github.com/axios/axios/issues/5445">#5445</a>)
(<a
href="6f360a2531">6f360a2</a>)</li>
<li><strong>utils:</strong> make isFormData detection logic stricter to
avoid unnecessary calling of the <code>toString</code> method on the
target; (<a
href="https://redirect.github.com/axios/axios/issues/5661">#5661</a>)
(<a
href="aa372f7306">aa372f7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+48/-10
([#5665](https://github.com/axios/axios/issues/5665)
[#5661](https://github.com/axios/axios/issues/5661)
[#5663](https://github.com/axios/axios/issues/5663) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/Cadienvan"
title="+2/-0 ([#5445](https://github.com/axios/axios/issues/5445)
)">Michael Di Prisco</a></li>
</ul>
<h2>Release v1.3.5</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>headers:</strong> fixed isValidHeaderName to support full
list of allowed characters; (<a
href="https://redirect.github.com/axios/axios/issues/5584">#5584</a>)
(<a
href="e7decef6a9">e7decef</a>)</li>
<li><strong>params:</strong> re-added the ability to set the function as
<code>paramsSerializer</code> config; (<a
href="https://redirect.github.com/axios/axios/issues/5633">#5633</a>)
(<a
href="a56c866120">a56c866</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+28/-10
([#5633](https://github.com/axios/axios/issues/5633)
[#5584](https://github.com/axios/axios/issues/5584) )">Dmitriy
Mozgovoy</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="https://github.com/axios/axios/compare/v1.3.6...v1.4.0">1.4.0</a>
(2023-04-27)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>formdata:</strong> add <code>multipart/form-data</code>
content type for FormData payload on custom client environments; (<a
href="https://redirect.github.com/axios/axios/issues/5678">#5678</a>)
(<a
href="bbb61e70cb">bbb61e7</a>)</li>
<li><strong>package:</strong> export package internals with unsafe path
prefix; (<a
href="https://redirect.github.com/axios/axios/issues/5677">#5677</a>)
(<a
href="df38c949f2">df38c94</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>dns:</strong> added support for a custom lookup function;
(<a
href="https://redirect.github.com/axios/axios/issues/5339">#5339</a>)
(<a
href="2701911260">2701911</a>)</li>
<li><strong>types:</strong> export <code>AxiosHeaderValue</code> type.
(<a
href="https://redirect.github.com/axios/axios/issues/5525">#5525</a>)
(<a
href="726f1c8e00">726f1c8</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>merge-config:</strong> optimize mergeConfig performance by
avoiding duplicate key visits; (<a
href="https://redirect.github.com/axios/axios/issues/5679">#5679</a>)
(<a
href="e6f7053bf1">e6f7053</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+151/-16
([#5684](https://github.com/axios/axios/issues/5684)
[#5339](https://github.com/axios/axios/issues/5339)
[#5679](https://github.com/axios/axios/issues/5679)
[#5678](https://github.com/axios/axios/issues/5678)
[#5677](https://github.com/axios/axios/issues/5677) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a
href="https://github.com/arthurfiorette" title="+19/-19
([#5525](https://github.com/axios/axios/issues/5525) )">Arthur
Fiorette</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/npiyush97"
title="+2/-18 ([#5670](https://github.com/axios/axios/issues/5670)
)">PIYUSH NEGI</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.3.5...v1.3.6">1.3.6</a>
(2023-04-19)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> added transport to RawAxiosRequestConfig (<a
href="https://redirect.github.com/axios/axios/issues/5445">#5445</a>)
(<a
href="6f360a2531">6f360a2</a>)</li>
<li><strong>utils:</strong> make isFormData detection logic stricter to
avoid unnecessary calling of the <code>toString</code> method on the
target; (<a
href="https://redirect.github.com/axios/axios/issues/5661">#5661</a>)
(<a
href="aa372f7306">aa372f7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+48/-10
([#5665](https://github.com/axios/axios/issues/5665)
[#5661](https://github.com/axios/axios/issues/5661)
[#5663](https://github.com/axios/axios/issues/5663) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/Cadienvan"
title="+2/-0 ([#5445](https://github.com/axios/axios/issues/5445)
)">Michael Di Prisco</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.3.4...v1.3.5">1.3.5</a>
(2023-04-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>headers:</strong> fixed isValidHeaderName to support full
list of allowed characters; (<a
href="https://redirect.github.com/axios/axios/issues/5584">#5584</a>)
(<a
href="e7decef6a9">e7decef</a>)</li>
<li><strong>params:</strong> re-added the ability to set the function as
<code>paramsSerializer</code> config; (<a
href="https://redirect.github.com/axios/axios/issues/5633">#5633</a>)
(<a
href="a56c866120">a56c866</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+28/-10
([#5633](https://github.com/axios/axios/issues/5633)
[#5584](https://github.com/axios/axios/issues/5584) )">Dmitriy
Mozgovoy</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="21a5ad34c4"><code>21a5ad3</code></a>
chore(release): v1.4.0 (<a
href="https://redirect.github.com/axios/axios/issues/5683">#5683</a>)</li>
<li><a
href="d627610d0c"><code>d627610</code></a>
chore(utils): refactored isAsyncFn util to avoid inlining additional
Babel he...</li>
<li><a
href="e18fdd893d"><code>e18fdd8</code></a>
refactor: remove deprecated url-search-params polyfill for
URLSearchParams (#...</li>
<li><a
href="726f1c8e00"><code>726f1c8</code></a>
feat(types): export <code>AxiosHeaderValue</code> type. (<a
href="https://redirect.github.com/axios/axios/issues/5525">#5525</a>)</li>
<li><a
href="2701911260"><code>2701911</code></a>
feat(dns): added support for a custom lookup function; (<a
href="https://redirect.github.com/axios/axios/issues/5339">#5339</a>)</li>
<li><a
href="e6f7053bf1"><code>e6f7053</code></a>
perf(merge-config): optimize mergeConfig performance by avoiding
duplicate ke...</li>
<li><a
href="bbb61e70cb"><code>bbb61e7</code></a>
fix(formdata): add <code>multipart/form-data</code> content type for
FormData payload on...</li>
<li><a
href="df38c949f2"><code>df38c94</code></a>
fix(package): export package internals with unsafe path prefix; (<a
href="https://redirect.github.com/axios/axios/issues/5677">#5677</a>)</li>
<li><a
href="59eb991835"><code>59eb991</code></a>
chore(release): v1.3.6 (<a
href="https://redirect.github.com/axios/axios/issues/5666">#5666</a>)</li>
<li><a
href="1b8cc3b02b"><code>1b8cc3b</code></a>
chore(template): improve issue template; (<a
href="https://redirect.github.com/axios/axios/issues/5665">#5665</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/axios/axios/compare/v1.3.4...v1.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.3.4&new-version=1.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 07:52:59 +02:00
2023-04-30 22:37:24 +02:00
2023-04-30 22:37:24 +02:00
2023-04-30 17:15:52 +02:00
2023-01-21 15:56:48 +01:00
2023-01-22 16:28:26 +01:00
2023-01-16 19:35:05 +01:00

Favicon of Bracket

Bracket

codecov backend frontend


Ladder tournament system meant to be easy to use. Bracket is written in async Python (with FastAPI) and Next.js as frontend using the Mantine library.

Preview

Setup

Database

First create a bracket cluster:

sudo pg_createcluster -u postgres -p 5532 13 bracket
pg_ctlcluster 13 bracket start

Subsequently, create a new bracket_dev database:

sudo -Hu postgres psql  -p 5532
CREATE USER bracket_dev WITH PASSWORD 'bracket_dev';
CREATE DATABASE bracket_dev OWNER bracket_dev;

You can do the same but replace the user and database name with:

  • bracket_ci: for running tests
  • bracket_prod: for a production database

The database URL can be specified per environment in the .env files (see config).

Config

Copy ci.env to prod.env and fill in the values:

  • PG_DSN: The URL of the PostgreSQL database
  • JWT_SECRET: Create a random secret using openssl rand -hex 32
  • CORS_ORIGINS and CORS_ORIGIN_REGEX: Specify allowed frontend domain names for CORS (see the FastAPI docs)
  • ADMIN_EMAIL and ADMIN_PASSWORD: The credentials of the admin user, which is created when initializing the database

Running the frontend and backend

The following starts the frontend and backend for local development:

Frontend

cd frontend
yarn
npm run dev

Backend

cd backend
pipenv install -d
pipenv shell
./run.sh
Description
No description provided
Readme AGPL-3.0 37 MiB
Languages
TypeScript 51.1%
Python 47.6%
CSS 0.8%
Dockerfile 0.2%