Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
0d5d171
Implement Exam Endpoints
Dhruvrg Sep 16, 2023
6b37435
added endpoints,apidoc and testcases
hricha11 Sep 28, 2023
c17a88a
fix
hricha11 Sep 28, 2023
36944b2
added to app.js
hricha11 Sep 30, 2023
70963e3
Write all APIDOCs for Module
Abhishekgoyal007 Oct 1, 2023
21898db
Included :id in url update
Abhishekgoyal007 Oct 1, 2023
6cc2314
Included :moduleId in url update
Abhishekgoyal007 Oct 1, 2023
2b96c47
Merge pull request #367 from tcet-opensource/264-Write-all-APIDOCs-fo…
TejasNair9977 Oct 1, 2023
012e8c7
create crud model and service for student medical history
alifanza259 Oct 2, 2023
c01b39c
Implemented CRUD and created services for Student College details
sumitst05 Oct 2, 2023
3a11b90
Renamed the model and service to follow camelCase
sumitst05 Oct 2, 2023
f6ca005
update naming case
alifanza259 Oct 2, 2023
cf4d824
[added]
deepti-50 Oct 3, 2023
eca6d53
Write-testcases-for-students
Abhishekgoyal007 Oct 3, 2023
ad7996e
Merge branch 'development' of https://github.com/tcet-opensource/erp-…
Abhishekgoyal007 Oct 3, 2023
5c6b6b7
crud and services for employee personal details
asthasingh182004 Oct 6, 2023
54fe5b2
create employee personal model
asthasingh182004 Oct 6, 2023
7033346
added employees personal model
asthasingh182004 Oct 6, 2023
04ebd65
crud and service for student bank details
ANKIT638-ux Oct 6, 2023
bb66124
feat:351-Backup-Restore-Operation-of-database
Oct 7, 2023
d7293d1
[added] crud for stu education history
rahulsingh2312 Oct 7, 2023
fb03ac5
[ADDED] Performance Testing
skyline-r34v Oct 7, 2023
574f356
[added] serviced for student past history and converted from snake ca…
rahulsingh2312 Oct 7, 2023
23eccb2
[fixed] eslint error
rahulsingh2312 Oct 7, 2023
1650b69
[ADDED] CRUD and Services for Employee Educational History Details
swathiharish-gh Oct 7, 2023
9e15a4d
[added]test cases for faculty
sanika-wani Oct 7, 2023
774aaaf
added curd to employee bank details
hricha11 Oct 7, 2023
0f6eb6c
Write-testcases-for-students
Abhishekgoyal007 Oct 7, 2023
bd05981
deleted security.md
Abhishekgoyal007 Oct 7, 2023
b3bf544
fixed create route in faculty.test.js
Aastha-S-Rai Oct 7, 2023
d9fe29a
Merge pull request #377 from alifanza259/372-CRUD_and_Services_for_St…
TejasNair9977 Oct 8, 2023
0c3ed69
Merge pull request #378 from tcet-opensource/369-crud-and-services-fo…
TejasNair9977 Oct 8, 2023
1efcc0f
Merge pull request #381 from tcet-opensource/371-crud-services-in-stu…
TejasNair9977 Oct 8, 2023
d60d6d2
Merge pull request #385 from tcet-opensource/#376-crud-and-services-f…
TejasNair9977 Oct 8, 2023
e01fdce
Merge pull request #386 from tcet-opensource/368_crud_service_for_stu…
TejasNair9977 Oct 8, 2023
0c869e7
Merge pull request #387 from tcet-opensource/feat-351-added-database-…
TejasNair9977 Oct 8, 2023
a238c17
Merge pull request #388 from tcet-opensource/350-performance
TejasNair9977 Oct 8, 2023
97f2e45
Merge pull request #389 from tcet-opensource/370-CRUD-and-Services-fo…
TejasNair9977 Oct 8, 2023
dfd4c0d
Merge pull request #390 from tcet-opensource/375-crud-services-employ…
TejasNair9977 Oct 8, 2023
4ef8f2e
Merge pull request #391 from tcet-opensource/288--test-case-for-faculty
TejasNair9977 Oct 8, 2023
3fa8509
Merge pull request #393 from tcet-opensource/293-Write-testcases-for-…
TejasNair9977 Oct 8, 2023
e440638
Merge pull request #392 from tcet-opensource/373-employee-bank-details
TejasNair9977 Oct 8, 2023
2f58cd3
fixed eslint issues, removed testcase residue, fixed naming conventio…
TejasNair9977 Oct 8, 2023
208470e
Merge pull request #394 from tcet-opensource/hotfixeslinttests1
TejasNair9977 Oct 8, 2023
9ee2ed1
Write apidoc for topic
Abhishekgoyal007 Oct 10, 2023
1d6d238
changed newExam.date string to date datatype
Dhruvrg Oct 11, 2023
ca8c193
289-[Feat]APIDOCs for faculty
sanika-wani Oct 11, 2023
1d41b56
Merge pull request #399 from tcet-opensource/289--Feat]-Write-APIDOCs…
TejasNair9977 Oct 11, 2023
4ed531a
Merge branch 'development' into 255-Write-apidoc-for-topic
TejasNair9977 Oct 11, 2023
1e188bd
Merge pull request #396 from tcet-opensource/255-Write-apidoc-for-topic
TejasNair9977 Oct 11, 2023
daff42c
eslint changes in app.js
Dhruvrg Oct 12, 2023
71f694f
formatting issues
TejasNair9977 Oct 12, 2023
c910512
added and configured husky
sumitst05 Oct 14, 2023
8915a85
removed existing hooks and setup.js
sumitst05 Oct 14, 2023
0f259a8
200-Added-authorization.js-and-authentication.js-for-access-management
Oct 14, 2023
f894016
fixed apidoc eslint issue and testcase errors
TejasNair9977 Oct 14, 2023
37e3cc2
fixed workflow action for auth
TejasNair9977 Oct 14, 2023
3d2ebe7
added test for precommit
TejasNair9977 Oct 14, 2023
1b66771
created endpoints
hricha11 Oct 14, 2023
81d808e
fixed typo
TejasNair9977 Oct 14, 2023
392bbb1
Merge branch 'development' into 316-all-endpoints-for-exam
TejasNair9977 Oct 14, 2023
ae5b099
Merge pull request #345 from tcet-opensource/316-all-endpoints-for-exam
TejasNair9977 Oct 14, 2023
91dea20
Merge branch 'development' into 354-attendance-endpoints-apidoc-testc…
TejasNair9977 Oct 14, 2023
ba54cf8
fixed testcases for attendance
TejasNair9977 Oct 14, 2023
cd837dc
Merge pull request #360 from tcet-opensource/354-attendance-endpoints…
TejasNair9977 Oct 14, 2023
bf61cac
Merge pull request #401 from tcet-opensource/398-add-husky
TejasNair9977 Oct 14, 2023
387fc78
Merge pull request #402 from tcet-opensource/feat-200-Added-middlewar…
TejasNair9977 Oct 14, 2023
32c4ac3
Merge pull request #405 from tcet-opensource/254-topics.endpoints
TejasNair9977 Oct 14, 2023
4cae035
added api-testcase
hricha11 Oct 14, 2023
a869288
added crud operation, all endpoints, testcases and apidoc for notifi…
Aryanzs Oct 14, 2023
6970176
Merge branch 'development' into 321-crud-endpoints-testcases-apidoc-f…
Aryanzs Oct 15, 2023
4937987
fixed testcases for notification
TejasNair9977 Oct 15, 2023
fe5ceee
fixed testcase for topic
TejasNair9977 Oct 15, 2023
77369c8
Merge branch 'development' into 254-topics.endpoints
TejasNair9977 Oct 15, 2023
d8abd45
Merge pull request #407 from tcet-opensource/254-topics.endpoints
TejasNair9977 Oct 15, 2023
bf84d17
Merge branch 'development' into 321-crud-endpoints-testcases-apidoc-f…
TejasNair9977 Oct 15, 2023
6242d5f
Merge pull request #408 from tcet-opensource/321-crud-endpoints-testc…
TejasNair9977 Oct 15, 2023
e1fb396
managed req.query and re.body for filter, limit, page
Aastha-S-Rai Oct 15, 2023
139ea91
added employee current details crud and services
TejasNair9977 Oct 15, 2023
6662bde
Merge pull request #410 from tcet-opensource/400-pagination-to-models
TejasNair9977 Oct 15, 2023
1ba3941
added securitymd for development
TejasNair9977 Oct 15, 2023
0cd3c68
Merge pull request #412 from tcet-opensource/hotfixsecurity
TejasNair9977 Oct 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
TOKEN_SECRET: ${{ secrets.TOKEN_SECRET }}
DB_URL: ${{ secrets.DB_URL }}
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}

permissions:
contents: read
Expand Down
13 changes: 13 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# npm test
npx lint-staged

if [ "$(uname)" == "Darwin" ]; then
npm run test
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
npm run test
elif [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
npm run testWin
fi
6 changes: 6 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"*.js": [
"prettier --write",
"eslint --fix"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ node -e "console.log(require('crypto').randomBytes(256).toString('base64'));
You don't need to assign values to these parameters in double or single quotes, just write directly, .env automatically converts it into quoted string.

Once you are done with this, install the packages through `npm ci` which stands for clean install.
Also, you need to run 'setup.js' file. You can do that by running following command in your terminal
Also you need to run the following command to check for you eslint and jest testcases:
```
node setup.js
npm run prepare
```
And finally, run the server with `npm run serverstart` or `npm run serverstartWin` depending on your operating system.

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ The project is still in its development phase, so plase report issues only if th

## Reporting a Vulnerability

Please report (suspected) security vulnerabilities to **[me](mailto:tejasnair2002@gmail.com)**. You will probably receive a response from me within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.
Please report (suspected) security vulnerabilities to **[me](mailto:tejasnair2002@gmail.com)**. You will probably receive a response from me within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.
Loading