Dev guide:
Runs the instalation of npm packages
To enable css modules with less in this setup, when npm packages are installed navigate to node_modules/less-watch-compiler/dist/lib/lessWatchCompilerUtils.js
and on the line: 138 change
ext: (lessWatchCompilerUtilsModule.config.minified ? '.min' : '') + '.css'
to
ext: (lessWatchCompilerUtilsModule.config.minified ? '.min' : '') + '.module.css'
Starts npm run less-watch and npm run start and json-server on port 3001 concurently.
!If you run this script you should not run npm start and, run less-watch and json-server!
Runs less-watch-compiler to automaticaly compile less files to xxx.module.css (if files are not compiling correctly, restart npm start and npm run less-watch scripts)
Runs the app in the development mode.
Open http://localhost:3000
Runs json-server --watch db.json --port 3001 Serves a mock json database with data located in ./db.json file
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Model, želimo da imamo:
Dokumente / originalni dokument koji je uploadovan
Participante / Je User u kontekstu agreementa. Npr. User Mile je prvi potpisnik u agreementu.
Usere / Konkretank korisnik koji moze potpisivati agreement
Agreemente / Agreement sadrzi skup dokumenata koji su vezanih za potpis i skup participanata.
Sadrži dokumente koji se potpisuju
Sadrži participante agreementa
Ima status (Poslat, U potpisivanju, Potpisan)
Trebaju mi 2 strane, Send i Manage page.
Send page:
Mogu kreirati Agreemente
Za svaki agreement mogu definisati 1 ili vise dokumenata
Svaki dokument se definise nazivom
Za svaki agreement mogu definisati 1 ili vise participanata
svaki participant se definise preko email adrese
Manage Page:
Mogu da izlistam sve agreemente
Kad kliknem na agremeent, treba da se povuku detalji agreemneta (lazy novim requestom)