A job-costing application for CG Coatings
- Node.js platform
- Express web framework
- EJS templating engine
- MVC design pattern
- Mongoose mongodb object modeling for node.js
- Lodash for JavaScript object iteration and manipulation
- jQuery library for DOM manipulation
- BootStrap framework for responsive clients
Developed as part of the profession-based learning cirriculum at:
Northwest Missouri State University School of Computer Science and Information Systems Dr. Carol Spradling, Director Maryville, MO
Client
- Curt Carpenter
Faculty
- Denise Case
- Jerry Qin
- Michael Rogers
- Diana Linville
Assistants
- Sec 02 Rathnakar Ettidi, course assistant
- Sec 03 Sandip Subedi, course assistant
- Sec 04 Vamsi Ravva, course assistant
Developers, Designers, and Software Engineers
- Fall 2016 44-563 Web Apps Sections 3,4,5, 6
- Spring 2017 44-563 Web Apps Sections 2,3,4
- Spring 2017 44-144 Web Apps Section 1
Following must be installed to run this application
- MongoDB
- Node.js V6.0+
Clone this repo to your local machine.
If Windows,
- Right-click on C:\44563 or C:\44144.
- Git clone https://bitbucket.org/nw_webapps_2017_spring/cge
The applications helps our client create cost estimates for:
- Roofing jobs
- Flooring jobs
- Waterproofing jobs
Each type of estimate shares common features
- Based on area (sqft)
- Includes material costs
- Includes mileage
- Includes labor
- Includes miscellaneous costs
We are building on work produced by the Fall 2016 Web Apps developers.
Please see the About / Teams pages for more information about how to contact us.
This application will be started in A04, extended in A05, and completed in A06.
Clone a copy of your section repository to your c:\44563 folder.
Open a command window in this project folder (e.g. C:\44563\jc2).
Install nodemon globally to enable live updates.
> npm install -g nodemon
Install Typescript globally to enable TypeScript language features.
> npm install -g typescript
Install Yarn globally to enable Yarn package manager. Download Yarn from https://yarnpkg.com/en/docs/install#windows-tab and install using the defaults. Verify by checking the version.
> yarn --version
Run npm install to install all the dependencies in the package.json file once before you begin and as new dependencies are added.
> npm install
OR run faster, safer yarn install. Yarn performs the same functions as npm. Install is the default yarn command, so you an just type "yarn" to update all dependencies and the autogenerated yarn.lock file.
> yarn install
> yarn
Do create folder in C dirve as: C:\data\db
- Click the windows icon in the lower left of your screen
- Right-click "computer" and click properties
- In the nav on the left side of the page click on "Advanced system settings"
- Click Environment Variables
- Under the user section click PATH so that the section is highlighted and click edit
- In variable value go all the way to the end of the text and add ";C:\Program Files\MongoDB\Server\3.4\bin" to it
Right-click on the project folder and open Git Bash. Run mongod to start MongoDB. (When done working the application, you can hit CTRL-C to stop.)
$ mongod
In Windows, right-click on the project folder and "Open Command Window Here as Administrator". At the prompt, type nodemon app to start the server. (CTRL-C to stop.)
> nodemon app.js
Point your browser to http://localhost:8082
Install Visual Studio Code.
Right-click on your project folder and select "Open with Code".
To type commands from within VS Code, from the VS Code menu, select View / Integrated Terminal.
- Install Extension: tslint
- Under VS Code menu "File" option, check "Autosave"
For a better experiences, never make changes to stale code.
Before making any changes, pull new code.
Make small changes and commit.
If away from the code for awhile, always pull new code.
The repo will change OFTEN and A LOT. :)
Hackathon-Starter project
