Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iatenine/tech-blog
A simple blog running a NodeJS backend on a Heroku server and using a MySql backend. Ostensibly themed as a "tech" blog, nothing really restricts what a user can post other than there is no support for formatting, code or images
https://github.com/iatenine/tech-blog
blog handlebars heroku-deployment nodejs
Last synced: about 2 months ago
JSON representation
A simple blog running a NodeJS backend on a Heroku server and using a MySql backend. Ostensibly themed as a "tech" blog, nothing really restricts what a user can post other than there is no support for formatting, code or images
- Host: GitHub
- URL: https://github.com/iatenine/tech-blog
- Owner: iatenine
- Created: 2021-09-13T17:51:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-15T05:42:50.000Z (over 3 years ago)
- Last Synced: 2024-11-05T15:42:46.065Z (3 months ago)
- Topics: blog, handlebars, heroku-deployment, nodejs
- Language: JavaScript
- Homepage:
- Size: 232 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tech Blog
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
# Table of Contents
[Description](#description)
[Installation](#installation)
[Usage](#usage)
[Contributing](#contributing)
[Tests](#tests)
[Questions](#questions)
[License](#license)# Description
This project is little more than a simple blog running a NodeJS backend on a Heroku
server and using a MySql backend. Ostensibly themed as a "tech" blog, nothing really
restricts what a user can post other than there is no support for formatting, code
or images# Installation
To run a local instance of the blog, clone the repo to the machine to
be used as a serverrun
`npm i`
or
`yarn`
Create .env file and populate it with the following data as appropriate to your setup:
```
DB_NAME=blog_db
DB_USER=
DB_PASSWORD=
```Run the schema.sql found in the db directory to create a database
(Optional) Seed the tables with sample data by running
`npm run seed`
Start the server with
`npm run start`
# Usage
This project can be used as a simple text-based blog. The theming
is rather flexible and may have room for improvement in the future# Contributing
To contribute to this project:
- Find or open an issue related to a bug or desired feature
- Create a fork of the repo
- Make changes within the fork to address the issue
- Create a PR if you feel improvements have been made over the current iteration# Tests
npm run test
# Questions
Q: How do I comment on a blog post?
A: Clicking the title of a post will take you to that post's page
toward the bottom there is a button to post a commentQ: Can I delete or update a post?
A: Opening the dashboard will display all posts you have authored
with buttons to update or delete each oneQ: Can I edit or delete a comment?
A: No, shut up[Maintainer](https://github.com/iatenine)
For further questions, direct emails [here](mailto:[email protected])# License
This project is covered under [The MIT License](https://opensource.org/licenses/MIT)