Code Monkey home page Code Monkey logo

c-g-coatings-estimator-api's People

Contributors

charan1234567 avatar devinenisirisha avatar vijaythecoder avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

c-g-coatings-estimator-api's Issues

Create view for login

  • Add a new view for login with username and password fields
  • This should be served with /login route

Estimates Resource Controller

it should just a skeleton for now, it should have the following methods

  • index (list of all estimates)
  • show (single estimate)
  • create (create estimate)
  • update (update estimate)
  • delete (delete estimate)

Create Migration for user for authentication

This should have a default user table with the following fields

  • username
  • password (will save hash key)
  • created_at, deleted_at (in adonis these are called timestamps, so calling that method will do the job)

Create Model in Mongoose for estimates

As an administrator, when creating a new estimate, I want to enter:

  • unique job name string
  • location string
  • int number of square feet (default = , min = 0, mas = )
  • list of materials (product string, int unit cost, int coverage per sq ft)
  • int number of days (default = )
  • int hours worked per day (per worker)
  • int labor dollars per hour
  • int number of hotel rooms
  • int number of hotel nights
  • int hotel dollars per night
  • int food dollars per day (per worker)
  • int number of vehicles
  • int number of miles per vehicle
  • float dollars per mile
  • list of miscellaneous costs (string desc, int dollars)
  • float multiplier

bugs

  • Search
  • When edit duplicate job name validation
  • Edit for materials/misc
  • Create Materials/misc

create views with ejs

create view files for all the resource methods according to the job controller

  • index.ejs
  • show.ejs
  • create.ejs
  • edit.ejs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.