mean-street
v1.1.1
Published
Easy REST server
Readme
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
- [x] Breakout functionality from Server.js
- [ ] move /lib/*.js files to a better place
- [ ] Front End
- [x] Authentication
- [x] Password hashing
- [x] Register / Sign up
- [ ] Module loader
- [x] Auto loader
- [ ] Form render from Schema
- [x] Dynamic routes
- [ ] View Templates
- [ ] Server prototype type instantiation for quick deploy `new Server({ port: 3001 });
- [x] 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
- [x] Update user password
- [ ] Update Role from admin area
