ACMMS
About
This a web-application designed for Amrita Canteen Mess Management System. [WIP]
Getting Started
To get you started you can simply clone this repository and install the dependencies:
git clone https://github.com/ankit01ojha/ACMMS.git
Install Dependencies
we can simply do:
npm install
This should install all the front-end and back-end dependencies for the project.
-
node_modules/
- contains the backend dependecies for the project. -
public/lib
- contains the AngularJS framework files and other front end dependencies
Run the Application
We have preconfigured the project with a simple development web server. The simplest way to start this server is:
npm start
Now browse to the app at [localhost:5000][local-app-url].
Front-end Directory Layout
public/ --> all of the static source files for the application
app.css --> default stylesheet
core/ --> all app specific modules
version/ --> version related components
version.js --> version module declaration and basic "version" value service
version_test.js --> "version" value service tests
version-directive.js --> custom directive that returns the current app version
version-directive_test.js --> version directive tests
interpolate-filter.js --> custom interpolation filter
interpolate-filter_test.js --> interpolate filter tests
view1/ --> the view1 view template and logic
view1.html --> the partial template
Login.js --> the controller logic
view1_test.js --> tests of the controller
view2/ --> the view2 view template and logic
view2.html --> the partial template
view2.js --> the controller logic
view2_test.js --> tests of the controller
app.js --> main application module
index.html --> app layout file (the main html template file of the app)
index-async.html --> just like index.html, but loads js files asynchronously
e2e-tests/ --> end-to-end tests
protractor-conf.js --> Protractor config file
scenarios.js --> end-to-end scenarios to be run by Protractor
karma.conf.js --> config file for running unit tests with Karma
package.json --> Node.js specific metadata, including development tools dependencies
package-lock.json --> Npm specific metadata, including versions of installed development tools dependencies