- The admin can open an admin page by enter (the website link)/admin => https://blog-website.herokuapp.com/admin
- The admin can login by your email and password
- The system check if this user is an admin for control panel or not
Phase 2 : Create control panel page, that allows the admin to add title, content and image into a blog page, this data will be inserted into database
- You should install this library
$ npm clone https://github.com/ten-weeks/CMS.git- Make sure to install all the indepandaceies
$ npm i- You should download the data base on your device like postgres data base (https://tecadmin.net/install-postgresql-server-on-ubuntu/)
- You should add data base config (username, database name, and password)
- Then you should Execute the code by ( npm start ) command
$ npm start
