Read the requirement setup here
- run
pnpm install
to install the dependency - run
pnpm prisma db push
to initialize the database - run
pnpm seed
to seed the database - run
pnpm prisma generate
to generate Prisma Client
- run
pnpm start
- visit http://localhost:4444
Operation | HTTP Method | Path |
---|---|---|
List Article | GET | http://localhost:4444 |
Create Article | POST | http://localhost:4444 |
Read Article | GET | http://localhost:4444/:id |
Update Article | PUT | http://localhost:4444/:id |
Remove Article | DELETE | http://localhost:4444/:id |