/Week-8-Blogs

Primary LanguageJavaScript

Week-8-Blogs

Build a server-rendered full-stack app with database for blog posts

User story

  • As a user I want to see all the blogs

  • As an admin I want to be able to login

  • As an admin I want to be able to logout

  • As an admin I want to be able to add a new blogs

  • As an admin I want to be able to update a new blogs

  • As an admin I want to be able to delete a new blogs

Optional / additional

  • As a user I want to be able to add comments o the blog

Task

  • Build an app using the Express framework.
  • Use a PostgreSQL database to store and retrieve your data.
  • Use the retrieved data to populate a Handlebars template for server-side rendering to be displayed on the front-end.

SCHEMA Diagram

SCHEMA

How to use:


**Developer side:**
* `git clone git@github.com:FACG2/Week-8-Blogs.git`
* `npm i`
* `npm run start:watch`

Team :

  • Aia
  • Salwa
  • Samer
  • Mahmoud