Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
90a66d7
create DOCs branch
vhrabar Oct 10, 2025
0022041
Expand README with project details and licensing
vhrabar Oct 17, 2025
6bfe738
Update GitHub Actions for Discord notification message
vhrabar Oct 17, 2025
84d6245
restore initial working version
vhrabar Oct 17, 2025
44afa1f
Revise README with project details and team info
vhrabar Oct 28, 2025
1b33f76
Fix typos in README.md
vhrabar Oct 28, 2025
4fc584a
add FER/UNIZG logo
vhrabar Oct 28, 2025
26edd2d
Add light and dark mode FER-UNIZG logos
vhrabar Oct 28, 2025
5d3c391
Update README with setup and usage instructions
vhrabar Oct 28, 2025
1f94c38
Update README with new features and team info
vhrabar Oct 29, 2025
a13ba9f
fix(workflows): write multi-line outputs to $GITHUB_OUTPUT and send s…
vhrabar Oct 31, 2025
b348b27
restore working version
vhrabar Oct 31, 2025
b14e06e
add changelog, code of conduct, and contributing guidelines
vhrabar Nov 6, 2025
31bb532
Add DOCs directory with the project presentation to devDOCs branch.
Nov 11, 2025
f569122
Merge pull request #34 from vhrabar/dev
vhrabar Nov 13, 2025
be6b7b0
Fix syntax for writing .env file in workflow
vhrabar Nov 14, 2025
f0fdfca
Update auth.ts
vhrabar Nov 14, 2025
8ab8430
improve nginx configuration to correctly handle all endpoints #37
vhrabar Nov 14, 2025
753152e
add .dockerignore and update docker-compose.yml for improved service …
vhrabar Nov 14, 2025
903da7b
update Google and Microsoft login button URLs to use API subdomain #37
vhrabar Nov 14, 2025
b84ed83
update API base URL to production and adjust user fetch endpoint in a…
vhrabar Nov 14, 2025
d903069
update SITE_ID to 2 and enhance production settings for security and …
vhrabar Nov 14, 2025
8dbe8d3
update API proxy configuration to use secure HTTPS connection
vhrabar Nov 14, 2025
237f057
update PyJWT version to 2.8.0 for improved security and compatibility…
vhrabar Nov 14, 2025
47827f7
Merge pull request #38 from vhrabar/feature-DockerDeploymentSetup
vhrabar Nov 14, 2025
62e55f8
rename REDME.en.md to README.en.md and add SECURITY.md with security …
vhrabar Nov 14, 2025
d548ef1
Merge remote-tracking branch 'origin/main'
vhrabar Nov 14, 2025
c720b07
add project proposition
vhrabar Nov 14, 2025
dcce0d0
remove unrelated conflicting file
vhrabar Nov 14, 2025
e0d9c01
Merge remote-tracking branch 'origin/devDOCs' into devDOCs
vhrabar Nov 14, 2025
7752b83
Merge branch 'devDOCs'
vhrabar Nov 14, 2025
dfa4dd1
Remove merge relict
vhrabar Nov 14, 2025
3304ea7
Update user model to remove email uniqueness and adjust authenticatio…
vhrabar Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/DigitalOcean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
ssh -i ~/.ssh/id_rsa root@${{ secrets.DO_DROPLET_IP }} << 'EOF'
cd /root/bullbear/src/backend

cat > .env << 'EOT'
cat > .env << 'EOT'
DB_NAME=${DB_NAME}
DB_USER=${DB_USER}
DB_PASSWORD=${DB_PASSWORD}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/discord-notify_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ jobs:
id: prepare
run: |
REPO="${{ github.repository }}"
BRANCH="${{ github.ref }}"
BRANCH="${GITHUB_REF#refs/heads/}"
COMMIT_MESSAGE="${{ github.event.head_commit.message }}"
COMMIT_URL="${{ github.event.head_commit.url }}"
ACTOR="${{ github.actor }}"
MESSAGE="**🟢 Novi commit u repozitoriju $REPO**\nGrana: \`$BRANCH\`\nAutor: $ACTOR\nPoruka: $COMMIT_MESSAGE\n[Pregledaj commit]($COMMIT_URL)"
echo "message=$MESSAGE" >> $GITHUB_OUTPUT
# write multi-line output safely
echo "message<<EOF" >> $GITHUB_OUTPUT
echo "$MESSAGE" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

- name: Send notification to Discord
run: |
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog

All notable changes to this project will be documented in this file.
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

---

## [0.1.0] - 2025-11-14
### Added
- login with Google/MS account
- dashboard with portfolio overview
- instrument search
- initial version of trading simulator






133 changes: 133 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
30 changes: 30 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Contributing to BullBear

This project forms part of an academic group project for [Software Engineering](https://www.fer.unizg.hr/en/course/sofeng) course at the University of Zagreb, Faculty of Electrical Engineering and Computing (FER).
Only the officially assigned members of the project are allowed to contribute to this repository; all external contributions will be ignored.
---

## 1. Code of Conduct
All contributors are expected to adhere to our [Code of Conduct](CODE_OF_CONDUCT.md).

## 2. Authorship
This project is developed by the following team members:

| Name and Surname | GitHub Profile | Role in Team | Responsibilities |
| ------------------- | ---------------------------------------------------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **Vedran Hrabar** | [@vhrabar](https://github.com/vhrabar) | Team Lead / DevOps / Frontend / Backend / Database | Coordinates the development process, maintains CI/CD environments, develops core frontend and backend components, and manages databases. |
| **Antun Silov** | [@AntunSilov](https://github.com/AntunSilov) | Backend Engineer | Develops API functionalities, implements business logic, and maintains stable communication with the database. |
| **Leon Zorko** | [@LeonZorko](https://github.com/LeonZorko) | Frontend Engineer | Develops and optimizes the React UI, implements dynamic components and data visualizations, ensuring a consistent user experience. |
| **Vedran Radojčić** | [@VedranRadojcic](https://github.com/VedranRadojcic) | Frontend Engineer | Develops and optimizes the React UI, implements dynamic components and data visualizations, ensuring a consistent user experience. |
| **Viktor Lazić** | [@ViktorLazic3](https://github.com/ViktorLazic3) | Frontend Engineer | Develops and optimizes the React UI, implements dynamic components and data visualizations, ensuring a consistent user experience. |
| **Luka Varga** | [@MegaNoris](https://github.com/MegaNoris) | Full-Stack Engineer | Works on connecting frontend and backend, improving system performance, and ensuring technical stability of the application. |


## 3. Development Setup
In order to maintain the quality and consistency of the codebase, all team members must follow the established development setup oulined below:

- Python 3.12+
- Django 5.2+
- Database: PostgreSQL 18+
- Frontend: React 19+
- Version Control: Git with GitHub (main branch: `main`)
Binary file added DOCs/BullBear.pdf
Binary file not shown.
Binary file added DOCs/BullBear_pregled.pptx
Binary file not shown.
Loading