This is a fullstack application that involves the use of a mysql database, an express server, and handlebars for HTML generation. This application is a blog website that allows users to make an account and login with their own account. It also allows user to make post threads and comments on those post threads for all users to see. It also allows users to delete their own post threads and comments.
Please make sure you have node.js installed on your machine!
mysql2 installation:
npm i mysql2
sequelize:
npm i sequelize
express installation:
npm i express
express-handlebars installation:
npm i express-handlebars:
connect-session-sequelize installation:
npm i connect-session-sequelize:
moment installation:
npm i moment
Once you have these things installed, you must have a mysql database running on your system, replace the values for the host, database name, and password to the database in order to connect to your own database.
This repo is covered under the MIT License.
License
Deployed at: https://tech-blog-ec.herokuapp.com/
Initialize app using:
node server.js
APIs were tested using Insomnia: https://insomnia.rest/
Feel free to open a pull request or open an issue
node js: https://nodejs.org/en/
express.js: https://expressjs.com/en/starter/installing.html
mysql2: https://www.npmjs.com/package/inquirer
sequelize: https://sequelize.org/
bcyrpt: https://www.npmjs.com/package/bcrypt
express-handlebars: https://www.npmjs.com/package/express-handlebars
connect-session-sequelize: https://www.npmjs.com/package/connect-session-sequelize
moment.js: https://momentjs.com/
Bootstrap: https://getbootstrap.com/
JavaScript
HTML
CSS
I'd like to thank my tutor Andrew Kil in just tossing ideas around trying to solve issues I had with this application.
If you would like to reach out to me with questions, please contact me at echo1826@gmail.com. You can check out more of my projects at https://github.com/echo1826