ProjectMark-Rodrigo/src/models/resource.ts
Rodrigo Pinto 9c4ea4ca90 Basic structure of the project
- Added a model with in-memory database, and routes, controller and
middleware to enable making initial CRUD calls to endpoints;

- Added jest and an initial test.
2025-04-02 17:07:06 -03:00

11 lines
199 B
TypeScript

export interface Resource {
id: number;
topicId: string;
url: string;
description: string;
type: string;
createdAt: string;
updatedAt: string;
}
export let resources: Resource[] = [];