|
|
## C# Template
|
|
|
## C# TemplateUser Api
|
|
|
This project provides the Rest Api for user management for the coscine platform
|
|
|
|
|
|
This template includes:
|
|
|
End Points
|
|
|
POST: route + 'user/email'
|
|
|
|
|
|
* Automatic building using cake
|
|
|
* Automatic testing with NUnit
|
|
|
* Automatic linting with Resharper
|
|
|
* Automatic documentation publishing using Gitlab CI / CD and a self written script which puts the docs in the docs folder to the wiki
|
|
|
* Automatic releases using semantic-release ([ESLint Code Convention](ESLintConvention)), cake and Gitlab CI / CD
|
|
|
change the email address for the current userl()
|
|
|
GET: route + 'user/user'
|
|
|
|
|
|
## What you need to do
|
|
|
returns user object of the current user conating the id, email address and display name
|
|
|
GET: route + 'user/qurey/<query string>/project/<project id>'
|
|
|
|
|
|
Place you C# project solution file in .src/.
|
|
|
Make sure Create directory for solution is unticked.
|
|
|
returns 10 users that satisfy the query string and do not belong to the project specified by project id
|
|
|
|
|
|
![alt text](images/create_project.png "Create a new Project")
|
|
|
parameter:
|
|
|
|
|
|
Delete unused docs and update this README.
|
|
|
string query string = query string for finding users ranging over user display name and user email address
|
|
|
|
|
|
Add [NUnit](nunit) tests to your solution.
|
|
|
|
|
|
## Building
|
|
|
|
|
|
Build this project by running either the build.ps1 or the build<span></span>.sh script.
|
|
|
The project will be build and tested.
|
|
|
|
|
|
### Links
|
|
|
|
|
|
* [Commit convention](ESLintConvention)
|
|
|
* [Everything possible with markup](testdoc)
|
|
|
* [Adding NUnit tests](nunit) |
|
|
string project id = id for the current project |
|
|
\ No newline at end of file |