1.1.1 • Published 8 years ago

mean-street v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

This project is a work in progress

Node REST

Quick setup REST server with admin interface for more intuitive data manipulation.

Get it as a node module npm install mean-street

=OR=

Make sure to run npm install to get all the dependencies. Make sure you run bower install inside of the /app folder

Run node Server.js --secret MadeUpSecretKeyGoesHere [,--database databasePath, --port 3000, --baseUrl rest, --env dev, ] and the server is set up!

To setup admin, go to /signup. Signup with your custom username / password then edit the entry to have "admin" : true for admin privileges

View a list of available api endpoints View a list of available CRUD endpoints

Troubleshooting

Make sure to have mongo running.

@TODO

  • Breakout functionality from Server.js
  • move /lib/*.js files to a better place
  • Front End
  • Authentication
  • Password hashing
  • Register / Sign up
  • Module loader
  • Auto loader
  • Form render from Schema
  • Dynamic routes
  • View Templates
  • Server prototype type instantiation for quick deploy `new Server({ port: 3001 });
  • implement /schema/:model route to dynamically get a models schema
  • Ability to pass express object to extend existing projects
  • Argv to accept custom schema / model paths outside of node module
  • Update user password
  • Update Role from admin area

Helpful Resources