Lesson 55 of 56
TypescriptProject – Todo REST API (Express + TypeORM)
30 minutes
Course progress98%
Folder layout
src/
entity/
Todo.ts
controller/
todo.controller.ts
router/
todo.router.ts
server.ts
Entity (Todo.ts)
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
()
{
()
id!: ;
()
title!: ;
({ : })
completed!: ;
}