Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/umarnawaz33/blogs-website

This is simple blog website with mongodb database.
https://github.com/umarnawaz33/blogs-website

bootstrap css3 ejs expressjs html5 mongodb mongoose nodejs

Last synced: about 1 month ago
JSON representation

This is simple blog website with mongodb database.

Awesome Lists containing this project

README

        

## About The Project
This is simple blog website with mongodb database. All blogs consists of a title and a content, they are stored in mongodb locally.

## Getting Started
To run this project first you need to setup your enviroment for nodejs. After that you need to:
* Clone this project.
* Use `npm install` command to install all the packages.

#### To Run Locally
* Setup and Configure mongb locally.
* Use `mongod` command to start mongodb server using terminal.
* Use `node app.js` command to start the node server on localhost.

#### To Run on Server
* Setup and Configure mongodb atlas for your project.
* Setup and Configure server(heroku) for your app.
* Update `.env` file accordingly.
* For Deployment, follow the guidelines provided by heroku or any other server you are using.

### To Add New Blog
To create a new blog you just have to use `current_url/compose` route, like `http://localhost:3000/compose`.

## Screenshots
Here you can view all screenshots: [Screenshots Folder](https://github.com/UmarNawaz33/blogs-website/tree/main/screenshots)



### Built With
This application is built with the following:
* [Node JS](https://nodejs.org/en/)
* [Express JS](https://expressjs.com/)
* [MongoDb](https://www.mongodb.com/)
* [EJS](https://ejs.co/)
* HTML5
* CSS3
* [Bootstrap](https://getbootstrap.com/)

## License

Distributed under the MIT License. See [LICENSE](https://github.com/UmarNawaz33/blogs-website/blob/main/LICENSE) for more information.

## Acknowledgements
* [body-parser](https://www.npmjs.com/package/body-parser)
* [express](https://www.npmjs.com/package/express)
* [mongoose](https://www.npmjs.com/package/mongoose)
* [lodash](https://www.npmjs.com/package/lodash)