Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
219 changed files
with
18,821 additions
and
8,250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
BIN
+0 Bytes
(100%)
Database.db
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
## HOW TO RUN | ||
|
||
1. `npm i` to install all dependencies | ||
2. `nodemon index` to run the server | ||
3. `npm run acceptance` to run acceptance tests | ||
4. `npm test` to see test coverage | ||
5. `npm run linter` to see code quality (eslint results) | ||
6. `npm run jsdoc` to generate documentation about all available methods | ||
|
||
You can view and play around with the website after you have ran nodemon command at : __http://localhost:5000__ | ||
|
||
For technician login: __http://localhost:5000/tech/login__ | ||
|
||
## IF ERRORS OCCUR WHEN TRYING TO DOWNLOAD A PDF | ||
|
||
FIX - manually create a folder `pdfs` in `public` folder | ||
|
||
final path should be - `public/pdfs` | ||
|
||
## EMAILS DON'T WORK ON UNIVERSITY NETWORK !!! | ||
|
||
To send emails change the variables `mailUser`, `mailPass`, `mailHost` and `mailPort` in `__DIRNAME__/Mail/mailer.js` to your Mailtrap or any other mailing service | ||
|
||
# ENJOY :) | ||
Dependency to run the APP: | ||
1. ‘npm install I’ to install all the dependencies | ||
2. ‘npm install nodemon index’ for running the sever | ||
3. ‘npm run acceptance’ to run acceptance test | ||
4. ‘npm run test ‘ to run test | ||
5. ‘npm run linter’ to check code quality | ||
6. ‘npm run jsdoc’ this generate documents regards to available methods | ||
7. ‘npm start’ to start the server | ||
8. http://localhost:4000/login to view user login page | ||
9. http://localhost:4000/tech/login to view technician page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BIN
+19.1 KB
docs/jsdoc/fonts/OpenSans-Bold-webfont.eot
Binary file not shown.
Oops, something went wrong.