Skip to content

Day 1,2,3 and 4

Batuhan Torun requested to merge b_torun/backend:batuhan into batuhan

Day 1: Add Express.

  • Your Express app runs without errors using node index.js or nodemon

  • Visiting GET /hello returns { "message": "Hello from the backend!" }

  • Visiting GET /users returns something like:

      [
          { "id": 1, "name": "Alice" },
          { "id": 2, "name": "Bob" }
      ]

Day 2: NestJS Setup & Core Concepts

  • Your project builds and runs with npm run start:dev
  • GET /hello returns a static greeting
  • GET /hello/:name returns a personalized greeting
  • You’ve used a controller and service to handle the logic

Day 3: Todo API (CRUD - In Memory)

  • Your app supports full CRUD for todos
  • You’ve used DTOs and validated input
  • Todos are stored in a plain array in your service
  • You’ve tested all endpoints manually using Postman

Day 4: Intro to Database (PostgreSQL)

Note: Used

CREATE EXTENSION IF NOT EXISTS pgcrypto;

for postgres to autogenerate string id.

  • You can add/update/delete todos using real database queries
  • Drizzle is working and you’ve confirmed data is being saved
  • You’ve removed the in-memory logic entirely

Postman collection to test https://gold-astronaut-707229.postman.co/workspace/My-Workspace~8193b38d-3f61-4572-8299-09d3f8209c63/collection/41355671-774fa246-6541-43ae-b912-c60495ca8f7f?action=share&creator=41355671

Edited by Batuhan Torun

Merge request reports

Loading