First clone this repository, then once you have in your local storage and open it in your source-code editor.
DB_USER='@your user name'
DB_PW='@your password'
DB_NAME='techblog_db' - The name of the database for this project
After this you'll need to create the Schema named techblog_db in your MYSQL shell, once you've done this step, install your node modules with the following command using your CLI - npm i, after this step you'll be ready to run your server using the command npm start the app will be running on your Port: 3001 .
Once you've done this last step, you can open your web browser and run the app at localhost:3001 | For more click on the Heroku link down below, to test out the deployed app.
This is a CMS-style blog site app similar to a Wordpress site, where developers can publish their blog posts and comment other dev´s posts.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-
Dependencies:
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-handlebars": "^6.0.6",
"express-session": "^1.17.3",
"sequelize": "^6.21.0",
"connect-session-sequelize": "^7.1.4",
"bcrypt": "^5.0.1",
"mysql2": "^2.3.3"




