NEWS PROJECT
Main Menu has three options:
- Categories
- News
- Quit
Categories menu has:
- Show Categories
- Add Category
- Delete Category
- Edit Category
- Back to main menu
News menu has:
- Show News
- Add News
- Edit News
- Delete News
- Back to main menu
On postgreSQL there is a database which has two tables:
- categories
- news
Categories table has:
- category_id column
- category_title column
News table has:
- news_id
- category_id (which is a foreignkey with the category_id from categories table)
- news_title
- news_content
- created_date
- updated_date