-
Notifications
You must be signed in to change notification settings - Fork 16
Adzikri #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Adzikri #23
Conversation
still in progress...
Completion
HELLOW PRISMA!
Ada beberapa eslint rule yang saya matikan, karena berbentrokan dengan typescript : - import/unresolved - import/extensions
wkkwk hmpir lupa sama coursenya
- AddMiddlewares decortaor register humoungous number of middlewares - Dfs walk trying to import non javascript files - remove herobrine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ini lu bikin router versi sendiri ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ini jugaa, buat apa fungsinya
zexoverz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ini semacam lu nambahin sistem register router ya, biar kalo ada router baru tinggal di regist aja.
| import UserService from '../../../../services/user'; | ||
| import ApiError from '../../../../lib/utils/ApiError'; | ||
| import TokenService from '../../../../services/generateToken'; | ||
| import { AddMiddleware } from '../../../../lib/utils/RouterDecorator'; | ||
| import ValidationMiddleware from '../../../../lib/middlewares/ValidationMiddleware'; | ||
| import AuthValidation from '../../../../lib/validations/AuthValidations'; | ||
|
|
||
| @AddMiddleware(ValidationMiddleware.validate(AuthValidation.register)) | ||
| export default class extends RouterBuilder { | ||
| public static override async controller(req: Request, res: Response) { | ||
| const existing = await UserService.getEmail(req.body.email); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oke pas lihat ini paham gua, cuman bedain cara ngebuat route nya aja ya.
zexoverz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gua approve walaupun beda struktur, selama lu paham pake sturktur lu.
oiya tambahin readme.md dan kasih alasan kenapa pake RouterBuilder, biar yang lain juga bisa belajar
- Menyelesaikan Semua CRUD - System Quantity stock - Api search menggunakan category /v1/products/search - Pagination untuk semua getAll api - Hanya admin yang dapat mengakses /v1/users
zexoverz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice document, lanjutkan
work in progress...
still in progresss...
still in progresss...
Now with responses and more
|
mohon reviewnya sir, test suite dan dokumentasi sudah saya kerjakan |
zexoverz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dokumentasi Approved, sorry gua baru review
|
Congrats dzikrifauzi, selamat atas kelulusannya di phase 1 🔥 🔥 🔥 overall nilai lu di phase 1 ada di angka 98% (hampir sempurna), penilaian ini base on: Review: untuk open gate phase 2 nanti di umumin jadwalnya, standby aja. bisa explore backend lagi kalau tertarik mau jadi backend developer : |
Week 4. still in progress.