In this assignment assignment I created Tech Blog were users can post question and recieve feedback from other user through comments. I started by creating a database with 3 tables, Users, Posts, and Comments. This allowed me to create relationships between them like Users have many Posts and Posts have many comments etc. I then created Api routes that granted me access to get, add, update and delete data from the database using front-end api calls. Afterwards I used HandleBars to create template html that I would use on different pages on the website. Final I was able to create front end Javascript to that allows user to login/register, add/delete post, etc.
This video shows the a user creating an account, creating a post, commenting on another persons post updating their previously created post, followed by deleting it. Then loging out and signing back in using the account they just created
You can use this App by visiting the Heroku deployment at Tech Blog.
Alternatively You can create a local instance of this app by:
- Cloning the git repository onto your local machine
- Type the command "npm i" to install all the node packages required for the application
- Make sure to seed the database with the command "npm run seed"
- Start the application by typing "npm start"
- The go to localhost:3000 in your browser to use the app
Email : [email protected]
If you have any question, please feel free to contact me at my email.