Skip to content

tsanevp/Blog-Website

Repository files navigation

Blog-Website

Table of contents

Overview

The challenge

  • Using EJS effectively to minimize the amount of repetitive HTML code in the project
  • Following proper design when working with EJS templating and layouts
  • Using MongoDB to store posts and then display them

Screenshot

Home Page

weather app home screen

Search Results

weather app search results

Links

Live Site URL: The Thoughtful Pen

My process

Built with

FrontEnd

  • HTML5
  • CSS
  • JS

Backend

  • Node.js
  • Express.js
  • EJS
  • MongoDB

Deployed On

  • Fly.io

What I learned

  • How to utilize EJS, templating, and layouts to reduce repetitive code
  • How to work with EJS on the server side and send variables to my .ejs pages
  • How to connect to a MongoDB database and store/retrieve data inside a Node.js project

Continued development

  • Implement MongoDB to store posts made by users since a new deployment deletes all current posts
  • Add a name/date field when composing a blog so we know who posted it and when
  • Add registration/sign-in functionality so only registered users can make blog posts

Useful resources

Author

Acknowledgments

  • Documentation
  • Stack Overflow with answers to any questions I had

About

A simple blog website where users can share their thoughts, opinions, and stories.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published