Welcome to eHospital, a comprehensive Hospital Information System.
- User Authentication (Login and Registration)
- Business Logic Implementation
- Data Access Layers
- Utilizes AutoMapper and FluentValidation
- Full Stack Development with ASP.NET Core
- Backend: ASP.NET Core
- Libraries: AutoMapper, FluentValidation
- Layers: Business, DataAccess, Entities, WebAPI
AuthController
-
Login
- Endpoint:
/api/auth/login
- Method: POST
- Response: Detailed login response.
- Endpoint:
-
GetTokenByRefreshToken
- Endpoint:
/api/auth/refresh-token/{refreshToken}
- Method: GET
- Response: Detailed response for token retrieval.
- Endpoint:
-
SendConfirmMail
- Endpoint:
/api/auth/send-confirm-mail/{mail}
- Method: GET
- Response: Detailed response for email confirmation.
- Endpoint:
-
ConfirmMail
- Endpoint:
/api/auth/confirm-mail/{emailConfirmCode}
- Method: GET
- Response: Detailed response for email confirmation.
- Endpoint:
UsersController
- Create
- Endpoint:
/api/users/create
- Method: POST
- Request Body:
{ "username": "example", "password": "password123", "email": "example@example.com" }
- Response: Detailed response for user creation.
- Endpoint:
Response: Detailed response for user creation.
To get started with the project, follow these steps:
- Clone the repository:
git clone https://github.com/NlabsGlobalFullStack/eHospital.git
- Navigate to the project folder:
cd eHospital
- Install dependencies:
dotnet restore
- Run the application:
dotnet run
We welcome contributions! If you would like to contribute, please fork the repository and submit a pull request.
If you encounter any issues or have questions, please open an issue.
This project is licensed under the MIT License.
Feel free to explore the code and contribute to the project.
Thank you for your interest in eHospital!