1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-19 02:21:21 +01:00
The core infrastructure backend (API, database, Docker, etc).
Go to file
Brant DeBow 5efd68cf51
[PM-17562] Initial POC of Distributed Events (#5323)
* Initial POC of Distributed Events

* Apply suggestions from code review

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

* Clean up files to support accepted changes. Address PR Feedback

* Removed unneeded using to fix lint warning

* Moved config into a common EventLogging top-level item. Fixed issues from PR review

* Optimized per suggestion from justinbaur

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

* Updated to add IAsyncDisposable as suggested in PR review

* Updated with suggestion to use KeyedSingleton for the IEventWriteService

* Changed key case to lowercase

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2025-01-30 12:07:02 -05:00
.checkmarx Exclude dev directory from iac scans (#3807) 2024-02-15 08:53:03 -05:00
.config [deps] Billing: Update swashbuckle-aspnetcore monorepo to v7 (#5069) 2024-12-13 12:42:25 +01:00
.devcontainer Added nodejs to the dev container to support building Admin (#5187) 2024-12-23 19:01:53 +00:00
.git-hooks Add git hook for formating (#2224) 2022-09-08 10:27:17 +02:00
.github [deps]: Update github-action minor (#5296) 2025-01-21 10:56:17 -08:00
.run Add Rider launch configurations (#2646) 2023-01-31 06:20:46 +10:00
.vscode [pm-14415] Add recommended extensions for VS Code. (#5249) 2025-01-14 13:38:32 -05:00
bitwarden_license [deps] Billing: Update CsvHelper to v33 (#5181) 2025-01-27 09:08:15 -05:00
dev [PM-17562] Initial POC of Distributed Events (#5323) 2025-01-30 12:07:02 -05:00
perf [deps] Billing: Update BenchmarkDotNet to v0.14.0 (#4660) 2024-09-05 09:05:26 -04:00
src [PM-17562] Initial POC of Distributed Events (#5323) 2025-01-30 12:07:02 -05:00
test [deps] Billing: Update xunit to 2.9.3 (#5289) 2025-01-30 10:58:14 -05:00
util [PM-14818] Update migrate.ps1 to support test database used by integration tests (#4912) 2025-01-22 11:41:18 -05:00
.dockerignore Bitwarden Unified Self-Host project (#2410) 2022-11-18 14:39:01 -05:00
.editorconfig Solution and editor configuration cleanup (#3099) 2023-07-13 17:34:11 -04:00
.git-blame-ignore-revs Add instructions (#2232) 2022-08-30 12:17:17 -04:00
.gitattributes Run dotnet format (#1764) 2021-12-16 15:35:09 +01:00
.gitignore [PM-10261] Migrate from gulp to webpack (#4569) 2024-07-31 15:41:55 -04:00
bitwarden-server.sln Remove link to missing file (#5166) 2024-12-18 16:00:43 -05:00
CONTRIBUTING.md Update README and CONTRIBUTING to point to contributing.bitwarden.com (#2028) 2022-06-09 12:00:58 +02:00
Directory.Build.props Bumped version to 2025.1.5 2025-01-27 15:48:47 +00:00
global.json Devcontainer Improvements (#4466) 2024-07-08 10:48:02 -04:00
LICENSE_AGPL.txt
LICENSE_BITWARDEN.txt Update paths to point to main instead of master (#3699) 2024-01-24 09:48:03 -05:00
LICENSE_FAQ.md Update paths to point to main instead of master (#3699) 2024-01-24 09:48:03 -05:00
LICENSE.txt Update paths to point to main instead of master (#3699) 2024-01-24 09:48:03 -05:00
README.md Adding code block format for README.md (#4695) 2024-08-27 09:23:41 +00:00
SECURITY.md Update SECURITY.md (#1913) 2022-03-15 15:54:08 -04:00
TRADEMARK_GUIDELINES.md

Bitwarden

Github Workflow build on main DockerHub gitter chat


The Bitwarden Server project contains the APIs, database, and other core infrastructure items needed for the "backend" of all bitwarden client applications.

The server project is written in C# using .NET Core with ASP.NET Core. The database is written in T-SQL/SQL Server. The codebase can be developed, built, run, and deployed cross-platform on Windows, macOS, and Linux distributions.

Developer Documentation

Please refer to the Server Setup Guide in the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

Deploy

docker

You can deploy Bitwarden using Docker containers on Windows, macOS, and Linux distributions. Use the provided PowerShell and Bash scripts to get started quickly. Find all of the Bitwarden images on Docker Hub.

Full documentation for deploying Bitwarden with Docker can be found in our help center at: https://help.bitwarden.com/article/install-on-premise/

Requirements

These dependencies are free to use.

Linux & macOS

curl -s -L -o bitwarden.sh \
    "https://func.bitwarden.com/api/dl/?app=self-host&platform=linux" \
    && chmod +x bitwarden.sh
./bitwarden.sh install
./bitwarden.sh start

Windows

Invoke-RestMethod -OutFile bitwarden.ps1 `
    -Uri "https://func.bitwarden.com/api/dl/?app=self-host&platform=windows"
.\bitwarden.ps1 -install
.\bitwarden.ps1 -start

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file. We also run a program on HackerOne.

No grant of any rights in the trademarks, service marks, or logos of Bitwarden is made (except as may be necessary to comply with the notice requirements as applicable), and use of any Bitwarden trademarks must comply with Bitwarden Trademark Guidelines.

Dotnet-format

Consider installing our git pre-commit hook for automatic formatting.

git config --local core.hooksPath .git-hooks