bfportal.gg
A platform to share experiences made in Battlefield Portal
Created on 29th November 2022
•
bfportal.gg
A platform to share experiences made in Battlefield Portal
The problem bfportal.gg solves
With the release of battlefield 2042, ripple effect studio added the ability to make custom game modes called "experiences", currently, there is no way to share a game mode outside of the game, this project aims to fill that gap.
The project is available at https://bfportal.gg/
Challenges I ran into
There were many challenges I ran into, some of the prominent ones were
-
Authentication
-
Deciding between regular(email and pass) auth and Oauth2 was a big decision, as regular auth provides more regional access but enables spammers to spam the user base easily. On the other hand, Oauth2 stops spammers but it also limits the reach to a smaller user base,
In the end, we decided to go with Oauth2 because of the fact that this is a community project and everyone is a volunteer. so we wanted to keep the work to a minimum amount.
-
-
Database
- The big question of choosing between MySql or PostgreSQL. while MySql is easy to maintain and light on the machine, we choose PostgreSQL for its powerful features and speed
-
Equivalency Between Dev, Staging, and Production Database
- As this project follows the standard cycle to push new updates, the updates are first sent to the dev branch and audited there, we need a way to test the new changes on the latest data in production,
To solve this we made use of Wagtail Transfer
- As this project follows the standard cycle to push new updates, the updates are first sent to the dev branch and audited there, we need a way to test the new changes on the latest data in production,