Angular x NestJS ❤️
Atualmente estudando Dart, Flutter e Sveltekit
related issue: stLmpp/biomercs#5
in ScoreService.approvalAdmin it's possible to check for world record before the approval is done.
// These two actions needs to finish before we check for world record
const promises: Promise<ScoreApproval | UpdateResult | void>[] = [
this.scoreApprovalService.addAdmin({ ...dto, idUser: user.id, action, actionDate: approvalDate, idScore }),
this.scoreRepository.update(idScore, {
status: action === ScoreApprovalActionEnum.Approve ? ScoreStatusEnum.Approved : ScoreStatusEnum.RejectedByAdmin,
approvalDate,
}),
];
if (action === ScoreApprovalActionEnum.Approve) {
promises.push(
this.scoreWorldRecordService.checkForWorldRecord({
idPlatformGameMiniGameModeStage: score.idPlatformGameMiniGameModeStage,
fromDate: addSeconds(approvalDate, -5),
idPlatformGameMiniGameModeCharacterCostumes: orderBy(
score.scorePlayers.map(scorePlayer => scorePlayer.idPlatformGameMiniGameModeCharacterCostume)
),
})
);
}
await Promise.all(promises);
Create a folder called scripts and organize the scripts
Create a utils.ts file to have some utils functions
Front-end issue: stLmpp/biomercs#9
Add option to cancel score in the change request
Front-end: stLmpp/biomercs#71
Front-end: stLmpp/biomercs#50
It seems much more features than typeorm
Search players end-point should return the player requesting when the player is an admin
Create a queue for the e-mail
If you try to register with steam and the personaname of the steam profile already exists in the player or user tables, the api throws an error
Tables:
Refactor e-mail service to not use AWS SES (since the refused my production access :D)
Add count approvals to the payload of the socket
Related issue: stLmpp/biomercs#10
If you submit a lower score, it will consider it as wr
The scores will go directly to the admin, even if there are more than 1 player
front-end: stLmpp/biomercs#65
mapperService.create(Score, ScoreViewModel)
.for(
dest => [dest.idScoreStatus, dest.scoreStatusDescription],
from => [from.scoreStatus.id, from.scoreStatus.description]
);
This will be useful to need repeat code when multiple properties needs a slightly complex logic
https://github.com/stLmpp/biomercs-v2-api/blob/32d285a04a6f3fa3d1ad85a0027d0aaa47145aa7/src/score/score.module.ts#L182-L188
https://github.com/stLmpp/biomercs-v2-api/blob/32d285a04a6f3fa3d1ad85a0027d0aaa47145aa7/src/score/score.module.ts#L189-L195
In the example above, we're doing 2 lookups in the from.scoreWorldRecords
array, and could be only one
Create a new table to persist errors in the database
Create new end-point to search the parameters (Platform, game, etc) in the score approvals
Related issue: stLmpp/biomercs#11
Login will not have a rate limit, instead it will block the user when tried to login with wrong password more than 3 times. See #20
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.