installed typeorm and added initial merchant resource

This commit is contained in:
Joe Arndt 2026-02-07 21:50:04 -06:00
parent 746adcd2fd
commit ccc6540ae8
15 changed files with 1972 additions and 321 deletions

View file

@ -0,0 +1,26 @@
import { Injectable } from '@nestjs/common';
import { CreateMerchantDto } from './dto/create-merchant.dto';
import { UpdateMerchantDto } from './dto/update-merchant.dto';
@Injectable()
export class MerchantsService {
create(createMerchantDto: CreateMerchantDto) {
return 'This action adds a new merchant';
}
findAll() {
return `This action returns all merchants`;
}
findOne(id: number) {
return `This action returns a #${id} merchant`;
}
update(id: number, updateMerchantDto: UpdateMerchantDto) {
return `This action updates a #${id} merchant`;
}
remove(id: number) {
return `This action removes a #${id} merchant`;
}
}