Daily journal to share your thoughts, ideas, and interesting reads.
- The App is currently hosted on Heroku. For a quick peek visit Daily Journal.
- To build this project locally, follow steps given below.
- Node, npm
Clone this repository.
$ git clone https://github.com/pratik-bongale/daily-journal.git
Change directory
$ cd daily-journal
Install all dependencies
$ npm install
Run app
$ node app.js
Visit localhost (only two routes available for simplicity)
Go to https://localhost:3000/
- This project demonstrates how to:
- Export functions/variables from a module
- Import functions/variables into a module
- Use Embedded Javasciprt(EJS) to define views
- Render EJS views using expresJS
- Reuse EJS views(Header/Footer) across all pages for consistency
- Handle get and post requests from the backend nodeJs script
- Use route(url) parameters to display different content on a page based on url
- Pratik Bongale - Initial work - Daily Journal