Skip to content

Commit

Permalink
Merge pull request #13 from cdalton713/backend
Browse files Browse the repository at this point in the history
- Refactored customer, technician -> user
- Updated User to match db
- Updated ticket to match db
- TODO:
  - Fix update ticket method
  - Finish assign and work endpoints
  • Loading branch information
alxford45 authored Nov 28, 2020
2 parents a34051e + 6f9472d commit 4986a1a
Show file tree
Hide file tree
Showing 40 changed files with 427 additions and 594 deletions.
22 changes: 0 additions & 22 deletions api/src/app.controller.spec.ts

This file was deleted.

10 changes: 4 additions & 6 deletions api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import { ServeStaticModule } from '@nestjs/serve-static';
import { join } from 'path';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { TechModule } from './tech/tech.module';
import { TicketModule } from './ticket/ticket.module';
import { TicketWorkModule } from './ticket/work/ticketwork.module';
import { TicketAssignModule } from './ticket/assign/ticketassign.module';
import { CustomerModule } from './customer/customer.module';
import { TicketWorkModule } from './work/ticketwork.module';
import { TicketAssignModule } from './assign/ticketassign.module';
import { UserModule } from './user/uer.module';

/**
*
Expand Down Expand Up @@ -40,11 +39,10 @@ const configImports = (modules: ModuleMetadata['imports']) => {

@Module({
imports: configImports([
TechModule,
TicketModule,
TicketWorkModule,
TicketAssignModule,
CustomerModule,
UserModule,
]),
controllers: [AppController],
providers: [AppService],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions api/src/customer/customer.controller.spec.ts

This file was deleted.

33 changes: 0 additions & 33 deletions api/src/customer/customer.controller.ts

This file was deleted.

11 changes: 0 additions & 11 deletions api/src/customer/customer.module.ts

This file was deleted.

18 changes: 0 additions & 18 deletions api/src/customer/customer.service.spec.ts

This file was deleted.

98 changes: 0 additions & 98 deletions api/src/customer/customer.service.ts

This file was deleted.

3 changes: 0 additions & 3 deletions api/src/customer/dto/create-customer.dto.ts

This file was deleted.

31 changes: 0 additions & 31 deletions api/src/tech/dto/create-tech.dto.ts

This file was deleted.

6 changes: 0 additions & 6 deletions api/src/tech/dto/update-tech.dto.ts

This file was deleted.

7 changes: 0 additions & 7 deletions api/src/tech/entities/tech.entity.ts

This file was deleted.

20 changes: 0 additions & 20 deletions api/src/tech/tech.controller.spec.ts

This file was deleted.

44 changes: 0 additions & 44 deletions api/src/tech/tech.controller.ts

This file was deleted.

11 changes: 0 additions & 11 deletions api/src/tech/tech.module.ts

This file was deleted.

18 changes: 0 additions & 18 deletions api/src/tech/tech.service.spec.ts

This file was deleted.

Loading

0 comments on commit 4986a1a

Please sign in to comment.