Blog using MEAN Stack
This is simple blog application built with AngularJS, Node.js,Redis and Mongo DB. Creates your article and shares them in a beautiful minimalistic template.
Blog Admin UI Page
Blog Post UI Page
- Create Article
- Edit Article
- Delete Article
- Public/Un publish Article to Users
- Add tags to Article
- Add Authentication to the administration
- Add registration for new user
- Handle Logout
- Handle Login
- Add users management
- Add Like to post
mongodb-2.4.10 up and running on port
Start your redis instance:
_.-``__ ''-._ _.-`` `. `_. ''-._ Redis 2.8.9 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in stand alone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 13499 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-'
Downloads Redis server from
This needs to be installed in your machine and Running with port :6379
Clone the repository with:
git clone https://github.com/localgroup/blog.git cd blog
blog/ --> Project root directory package.json --> Node (NPM) project info and dependencies gulpfile.js --> Gulp.js is a Node-based task runner just like Grunt and as such You need to have Node.js installed to use it app/ --> Contains all UI modules files(js,css,etc) api/ --> Contains all rest APIs, config for Mongo DB, Redis server etc. app/index.html --> Landing page
Build angularjs app
The build result is already available, but if you want to build it yourself, install gulp and the dependencies, then run it under BlogUsingMEANStack Directory
install gulp and the gulp dependencies: npm install
Edit app/js/app.js and replace the value of
options.api.base_url to match your server configuration.
Run gulp to build the scripts of the AngularJS app with: gulp
Go to the api folder and install the dependencies: npm install
Edit api/blog.js and replace the value of Access-Control-Allow-Origin to match your server configuration.
Navigate into the below directory
Run the Rest api exposed application: node blog.js
Navigate into the below directory
Run the Blog UI application: live-server
You can now open your browser:
Create a first account on
To access the Administration, go to
Technology Stack Used
- Express Js
- Json web Token
Want to Contribute?
I'm so happy if you do. Fork the project, make whatever changes you want to do and submit a pull request.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.