CMS-style blog following the MVC paradigm in its architectural structure.
Technovate is a website that allows users to publish blog posts and comment other user's posts as well. It follows he MVC paradigm in its architectural structure, using Handlebars.js as the templating language, Sequelize as the ORM, and the express-session npm package for authentication.
Technologies used:
- JavaScript
- CSS
- Node.js
- Express.js
- MySQL2
- Sequelize
- Handlebars
- Heroku
- Install Node.js and MySQL on your machine.
- Clone the repository to your local system.
- Open the repository in your preferred code editor.
- Install the required dependencies by running the following command in the terminal:
package.json: npm i
- Set the following environment variables with your MySQL database details:
DB_NAME='techblog'
DB_USER='your_username'
DB_PW='your_password'
- Open MySQL shell and insert the commands:
source db/schema.sql use techblog
- Exit MySQL shell and start the app by running the following command in your terminal:
npm run seed node server.js
To use Technovate, follow these steps:
- Make sure the application is running by executing npm run seed followed by node server.js.
- Access the application through your preferred web browser.
- Sign up for a new account or log in if you already have one.
- Create your tech posts and share with other users on the platform.
- Comment posts from other users.
Licenced under:
To test this application, follow these steps:
- Clone the repository to your local system.
- Open the repository in your preferred code editor.
- Complete the installation process as described in the Installation section.
- Start the server and sync the Sequelize models with the MySQL database by running the command node server.js.
- Use an API development environment (e.g., Insomnia) to test the API routes using various HTTP request methods such as GET, POST, PUT, and DELETE.