#fileManager A web interface to manage csv file uploads and store them in a mongo database
#Project Directory Overview
- [api] //Backend API
- [controllers]
- [fileController.js] // Backend controller
- [models]
- [fileSchema.js] // Model Schema for file uploads
- [routes]
- [routes.js] // Export api routes
- [controllers]
- [app] // Public Folder
- [assets] // Folder to put images, fonts, etc
- [Components]
- [addFile]
- [addFiles.html] // View for addFiles template
- [addFiles.js] // Controller for addFiles view
- [home]
- [home.html] // View for home template
- [home.js] // Controller for home template
- [addFile]
- [lib] // Third Party Libs
- [css] // For bootstrap
- [js] // For query
- [styles] // Custom styles
- [templates] // Front End Views
- [footer.html] // Footer template
- [navigation.html] // Nav bar template
- [index.html] // Index template
- [gulpfile.js] // Task Manager
- [package.json] // NPM Dependencies
- [bower.json] // Bower dependencies
- [README.md] // Setup guide
- [server.js] // Node backend
- [.gitignore] // Git ignore these files
- [.bowerrc] // Bower directory setup
#Setup You must have Nodejs, Bower and MongoDB downloaded.
#Install Instructions
Clone the repository git clone https://github.com/bitgord/fileManager.git
cd into the folder cd fileManager
Alternatively, you can download it as a zip and cd into the folder.
download npm dependencides npm install
download bower dependencies bower install
#Build Application
gulp
#Search Database (You must be running a mongo server)
Go into mongo shell mongo
Move into fileUploads database which should be created after you run your app if you are connected to mongouse fileUploads
Query database to find all the files that have been uploadeddb.files.find().pretty()
Clear databasedb.files.remove({})
#Todo
Change pretax and tax amount to be a number instead of a string
Calculate total expenses amount per-month based on data