brianmc / raml-store

This project provides an persistent store for RAML files created using then embedded API Designer
MIT License
51 stars 18 forks source link

Use path as _id in mongodb, code formatting, standardisation and working with latest api-designer #2

Open cymantic opened 10 years ago

cymantic commented 10 years ago

I've updated the _id to be the path to the file in mongodb

Also a few other formatting and renaming of files

brianmc commented 10 years ago

Thanks for the PR Tom, lots of good improvements. Just interested in the move of files.js from routes to lib. I'm fairly new to node so just wondering if you were following a standard node/express organization convention and what that was.

Thanks,

Brian

cymantic commented 10 years ago

I think lib is more standard from whenever I've used express (or sinatra), especially for files that provide additional functionality. I've never used a routes folder, but if you had a large app with extra routing config, then those files would go there.

BNoohi commented 9 years ago

@brianmc What's the status on this merge? Is this project being actively worked on?