Ödev 10
Clean Blog Projesi 4. Bölüm
Clean Blog projemizin bu 4. bölümünde aşağıdaki işlemleri yapalım.
- index.ejs içerisinde
/posts/<%= posts[i]._id %>ile _id bilgisini gönderelim. - app.js içerisinde GET metoduyla "/posts/:id" ile gönderilen "_id" yi yakalayalım. .
- tekil post bilgilerini post.ejs dosyasına gönderelim.
- post.ejs içerisine post.title, post.detail ve post.dateCreated bilgilerini gönderelim. (her bir post için ayrı image kullanmayacağız)
Kolay Gelsin.
Proje
Submit your work to complete this lesson.
Join the project workspace to share your solution and receive feedback.
Lesson discussion
Swap insights and ask questions about Node.js
Be the first to start the discussion
Ask a question or share your thoughts about this lesson.