Skip to content

sebas095/analysisLab

Repository files navigation

analysisLab

Build Status dependencies Status Github Issues

This is a prototype for the laboratory of analysis of water and food of the UTP.

Requeriments/dependencies

Installation

npm install or yarn install

Run

npm start or yarn start

Routes

url method description params
/ GET Home page
/profile GET Return user data
/profile PUT Modifies user data
/users/register GET Page to register users
/users/register POST Creates a new user
  • firstname
  • lastname
  • rol
  • email
  • password
/users/admin GET Page with admin panel
/users/pending/approve GET Page to pending users for account approval
/users/accountApproval PUT Approval or rejection of an account
/users/pending/deactivate GET Page to users with account deactivation request
/users/deactivateAccount PUT Approval or rejection of account deactivation request
/users/:id/deactivateAccount PUT Request for deactivate account
/users/:id PUT Modifies user data
/users/:id DELETE Deactivate user account
/account/newPassword GET Request for new password
/account/emailRecovery POST Email is sent with instructions to recover the password
  • email
/account/recovery/:token GET Page with password change form
/account/recovery/:token PUT Save the new password
  • password
  • confirm password
/session/login GET Login page
/session/login POST Create a new session
  • email
  • password
/session/logout DELETE Destroy a session
/quotation/new GET Page to crate quotation
/quotation/create POST Create a new quotation
  • businessName
  • Nit/C.C.
  • address
  • phone
  • email
  • total
  • Applicant Info:
  • firstname
  • lastname
  • document
  • position
  • phone
  • email
  • Sample Info:
  • type
  • parameter
  • method
  • price
  • amount
  • totalPrice
/quotation/search GET Search quotation page
/quotation/search POST Search a specific quotation
  • Or
  • Nit/C.C.
/quotation/pending/approval GET Page to pending quotations for approval
/quotation/approval/:id PUT Approval or rejection of a quotation
/quotation/pending/delete GET Page to quotations with delete request
/quotation/:id/delete PUT Request for delete quotation
/quotation/delete/:id DELETE Delete a specific quotation
/quotation/:id GET Page for a specific quotation
/quotation/:id PUT Modifies a specific quotation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published