GithubHelp home page GithubHelp logo

atharva-codes / blog-template-ejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from efecollins/blog-template-ejs

0.0 0.0 0.0 228 KB

A blog template created with NodeJS, Express & EJS

Home Page: https://cerise-seahorse-vest.cyclic.app

License: ISC License

JavaScript 55.95% CSS 11.42% EJS 32.64%

blog-template-ejs's Introduction

Blog Template using EJS

GitHub Twitter Follow

This is an application that serves as a blog template for potential blog creators. Perfect, if you want to create a blog yourself but not from scratch. Best for developers.

The application is built with Node.js, Express.js, EJS, Lodash, MongoDB & Mongoose. The said technologies were used for reasons such as speed, efficiency and readability since most developers have a working knowlegde of JavaScript. The database enables the information on the blog to continuously be available until deleted.

Installation

  • Clone repository with the command git clone <url>
$ git clone https://github.com/efecollins/blog-template-ejs.git
  • Run npm i in your terminal to install node_modules and all dependencies in package.json
$ npm i
  • Run nodemon in your terminal if installed to start the node server and watch for changes in app.js
$ nodemon
  • Or run node app.js to start the server if nodemon is not installed
$ node app.js
  • The following message should be logged to your console signifying success.
Server started on port 3000
  • To use MongoDB with Mongoose locally, do this:
mongoose.connect("mongodb://localhost:27017/blogDB", {useNewUrlParser: true});

More Info

blog-template-ejs's People

Contributors

atharva-codes avatar efecollins avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.