Mukta-Sawant / BlogSite

Dynamically updating Blog-Site to upload blogs on various topics, developed using ejs template engine and node js in the backend.

Home Page:https://alphavio-daily-journal.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlogSite


A sneak peek into what we have here


About-

All Contributors GitHub issues GitHub PRs Dependabot Status
DeepSource: DeepSource

  • 'Blog' and 'blogging' are now loosely used for content creation and sharing on social media, especially when the content is long-form and one creates and shares content on regular basis.

  • This is a dynamically updating Blog posting website developed primarily using Node Js with EJS template engine and Mongoose as ODM(Object Data Modeling library). Visit BlogSite

Tech Stack-

HTML5

CSS3

EJS template engine

NodeJS

Express.js

Mongoose

MongoDB


Environment Setup for local use-

  • Drop a ⭐ on the GitHub repository.

  • Download Git (when you install Git, Git Bash also gets installed by default)




  • Robo 3T is a desktop graphical user interface (GUI) for Mongo DB. It can help to skip running all the Mongo DB commands manually every time we want to access the data. Download Robo 3T (optional)

  • Clone the repository by running command
git clone https://github.com/<your user-name>/BlogSite.git

in your git bash.

  • Run command cd BlogSite.

  • Run this command to install all dependencies for the project.
npm install

  • Adding secret key for JWT auth.
    • Run this command when inside the root directory to make a .env file.
    touch .env
    
    • Now add this to the .env file
    SECRET_KEY = AlphaVio
    URL = mongodb://localhost:27017/blogDB
    

  • Testing : Run this command on your terminal/ bash to start the Mongo server on port 27017(default).
mongod

  • Run this command to start the project.
npm start
  • Run this command to start the project as a developer.
npm run dev

  • Open link to view the website in your browser window if it doesn't open automatically.
http://localhost:3000/

  • You can learn more about EJS template engine and its syntax to know how we can use it inside our HTML using the documentation

  • Now you are all set to use this project.

Disclaimer-
The Contact Us feature might not work in the local environment since the API-Key has not been shared. If you still want to work on it, generate your own API key from Mail Gun and include it in the .env file as

API-KEY = <your-api-key>

Some useful Mongo DB commands if you are using the terminal instead of the GUI-

show dbs
use db <db name>
show collections
<db name> .find()

Project Deployed on Heroku : Visit BlogSite


Open Source Events Project is associated with:

1. JGEC Winter of Code

  • JWoC ( JGEC Winter of Code) is a program organised by Developers JGEC in collaboration with Sristi 2020 which helps students to plunge into the realm of Open Source contribution and Software Development.

2. Mexili Winter of Code

  • Mexili is a Free and Open Source organization whose motivation is to funnel learning and implementation through Open Source Software Development.

3. GirlScript Summer of Code

  • GirlScript Summer of Code is the 3 month long Open Source program conducted by GirlScript Foundation, started in 2018, with an aim to help beginners get started with Open Source Development while encouraging diversity.

Maintainers ✨


Pranav Mendiratta

πŸ’»πŸ“– 🚧

Ananya Negi

πŸ’» πŸ“– 🚧

Rushan Khan

πŸ’» πŸ“– 🚧

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Anubhab Sarkar

🎨

Subhra264

πŸ’»

Sahil Saha

πŸ’»

uttu2

πŸ“–

pankaj kumar bijarniya

πŸ“– πŸ’»

Niveditha Palli

πŸ–‹ πŸ’»

Lucky kumari

πŸ“– πŸ’»

kanhaiya lal

πŸ’»

Tushar Jain

πŸ“– πŸ’»

Karun Karthik

πŸ’»

Harshit Aditya

πŸ’»

Aayush Garg

πŸ“– πŸ’»

Abhijay Jain

πŸ’» πŸ“–

Monojit Chakraborty

πŸ’»

Ankita297

πŸ’»

Aniket Lodh

πŸ’»

Monika Jha

πŸ’»

vismitap

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!


Stargazers over time 🌟

Stargazers over time

About

Dynamically updating Blog-Site to upload blogs on various topics, developed using ejs template engine and node js in the backend.

https://alphavio-daily-journal.herokuapp.com/

License:MIT License


Languages

Language:EJS 50.2%Language:JavaScript 36.9%Language:CSS 12.8%