Skip to content

A scalable, modularizable and reutilizable architecture for node.js and angular.js app (MEAN Stack)

Notifications You must be signed in to change notification settings

cbaeza/mymeanjs

Repository files navigation

MyMeanJs

A scalable, modularizable and reutilizable architecture for node.js and angular.js app (MEAN Stack).

Example portal

Technologies

- Node.js 
- Express framework
- Angular.js
- Bootstrap
- Mongo DB

Features

Backend

- Node.js with Express Framework
- REST api
- i18n api
- Mongo DB, using Mongoose
- Api Authentication using Bearer token, powered by Json Web Token (JWT)
- Jade as template engine
- Coffee Script
- Grunt
- npm

Frontend

- Angular.js
- Bootstrap (Responsive)
- Remember me (based on session storage)
- Architecture based in reusable modules
- Register user
- Login for register users
- User roles 
- Bower

Prerequisites to install

sudo npm -g install coffee-script
sudo npm -g install nodemon
sudo npm -g install express
sudo npm -g install grunt-cli

Installation & start

# clone repo
$ git clone https://github.com/cbaeza/mymeanjs.git 
# change to project
$ cd mymeanjs
# install node packages
$ npm install
# install bower packages
$ bower install
# restore db
$ mongorestore -db db/dump/mymean --db mymean
# compile client  
$ grunt build-client
# start server
$ npm start
# call site
http://localhost:3030

Test user

user: [email protected]
password: test

Admin user

user: [email protected]
password: adminadmin    

Roadmap (TODOs)

  • Enable admin modules (user management and and roles).
  • Enable News module management.
  • Improve main menu css and responsive.
  • Upload pictures module.

About

A scalable, modularizable and reutilizable architecture for node.js and angular.js app (MEAN Stack)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published