This Tech Blog application followin the Model-View-Controller (MVC) paradigm. After login, users can post their blog, update and comment on other user's post.
The user should clone the repository from GitHub and run npm install
in order to install the following npm package dependencies such as Node.js, mysql2, sequelize to to connect your Express.js API to a MySQL database and the dotenv package to use environment variables to store sensitive data. To view database from MySQL run mysql -u root -p
. After creating the models and routes, seed data to your database so that you can test your routes.To start application run npm start
.
Use inquirer from your command line to answer questions about your project.
Deployed Heroku link here - Heroku
This project is license under MIT
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Run npm test
to run Jest for unit test
If you have any questions about this projects, please contact me directly at jingliu788@gmail.com. You can view more of my projects at https://github.com/jing-liu-778.