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.
Working with EJS and request handlers was quite the pain and this is the fruit of the pain.
- Clone repository with the command
git clone <url>
$ git clone https://github.com/efecollins/blog-template-ejs.git
npm iin your terminal to install
node_modulesand all dependencies in
$ npm i
nodemonin your terminal if installed to start the node server and watch for changes in
- Or run
node app.jsto start the server if
nodemonis not installed
$ node app.js
- The following message should be logged to your console signifying success.
Server started on port 3000
- Make changes as you are pleased
To compose a new post enter
localhost:3000/composein your web browser's search bar.
To compose a new post in the live site visit https://busy-blue-agouti-cap.cyclic.app/compose
Contributions to this project are allowed provided they make the template easy to use
Top comments (0)