Skip to content

web app for profile and blog ::STACK-Node,Mongodb,Angular,Redis

Notifications You must be signed in to change notification settings

chintamanil/profile_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

profile_blog

Description

profile_blog is a simple blog and portfolio page application built with AngularJS, Node.js, less and MongoDB. Based on a blog i read about creating M.E.A.N app for blog https://scotch.io/tutorials/setting-up-a-mean-stack-single-page-application https://travistidwell.com/blog/2015/01/20/how-to-build-a-mean-web-application/

Stack

  • AngularJS
  • Bootstrap
  • MongoDB
  • Redis
  • Node.js

Features

  • Create Article
  • Edit Article
  • Delete Article
  • Add tags to Article
  • Add Authentication to the administration
  • Add registration for new user
  • Handle Logout
  • Add Like to post

Dependencies

You need redis-2.8.9 up and running on port 6379 You need mongodb-2.4.10 up and running on port 27017

Installation

profile_blog$ sudo mongod
profile_blog$ redis-server

Build angularjs app

install gulp and the gulp dependencies:

`profile_blog$ 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:
`profile_blog$ gulp`

Install Nodejs App

Go to the api folder and install the dependencies:

`profile_blog/api$ npm install`

Edit api/blog.js and replace the value of Access-Control-Allow-Origin to match your server configuration.

Run the application:
`profile_blog/api$ node blog.js`
`profile_blog/api$ npm install -g local-web-server`
`profile_blog/app$ ws`

Run

You can now open your browser: `https://localhost/profile_blog/app`

Create a first account on `https://localhost/profile_blog/app/#/admin/register`

To access the Administration, go to `https://localhost/profile_blog/app/#/admin/login`

Features to Implement

  • Search indexing of redis data
  • Twitter feed
  • Project details
  • Secondary fixes to css
  • Add Comments to post
  • Add Like to comment
  • Add users management

License

The MIT License (MIT)

Copyright (c) 2014 Chintamani Lonkar ([email protected])

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.

About

web app for profile and blog ::STACK-Node,Mongodb,Angular,Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published