DAL Layer for Univercity project related for choosing courses CRUD operations:
- add: expect body as a entity (PUT)
- find: expect body with optionList (POST)
- delete: expect body as a entity but prefer body with _id prop (DELETE)
- update: expect body as a entity (POST)
Entities:
- User
- Group
- Discipline
- Cathedra
{
"UserName" : "Andrew",
"Email" : "Andrew",
"Password" : "Andrew",
"PhoneNumber" : "Andrew",
"Roles" : ["Admin"],
"GroupId" : "58f48d45e8556a1978ad8cdc"
}
NOTE: Preferable dev environment for the service is Linux OS based.
Useful extensions :
- [ESLint] (https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint). This extension highlights linting errors/warnings during development, so it is easier to fix linting problems.
Process :
- npm install
- node api/index (your root should be main repo root)
We recommend installing [VS Code] (https://code.visualstudio.com) IDE.
For VS Code - set up user preferences file (contact maintainers or other developers to provide you with latests file version)
Andrew Roman (andrij4ik@gmail.com)