A blog created with Node.js where users can register, login, create or delete a post, and update their details.
- HTML/CSS
- Vanilla JS
- Node.js/Express
- MySQL
- Install XAMPP or a similar tool to be able to run MySQL.
- Install HeidiSQL, a graphical interface to manage MySQL databases or a similar tool (Optional).
- Install Node.js, which includes npm.
- Open XAMPP and start the MySQL module.
- Open HeidiSQL or a similar tool and connect to the MySQL server by entering your chosen host, username, and password. In this project, the default username 'host' is used and the password is empty.
- Create a new database. I named mine "Coursework3" in this project.
- Browse to the project folder and go to the database_dump folder, and import posts.sql and users.sql into the created database to populate the database with dummy data.
- Open a terminal or command prompt and navigate to the project folder.
- Run
npm installto install project dependencies. - Run
node server.jsto start the server. - Open a web browser and go to http://localhost:8080 (or your chosen port) to see the running application.
- Allow users to add a profile picture.
- Allow users to edit their past posts.
- Allow users to upvote and downvote a post.
- Allow users to direct message another user.
- Allow users to update their email or password upon providing their current password.



