About
Pre-requisites
Installation
Running the project
Unit testing
Known issues
Notes
This project is an application developer interview test, a CRUD done using .NET 6 and ReactJs, you must be able to authenticate and validate a Patient model.
The main goal is to prove my programming skills and show what I am capable of.
- Visual studio 2022
- SQL Server Express LocalDB
- NodeJS 18.16.0 or higher
- NPM
- Clone the repository.
- Make sure your connection string is pointing to your LocalDB.
- Navigate to PatientChallenge\PatientChallenge.Site\patientchallengesite\ folder where package.json is located.
- Open a terminal command prompt and type npm install.
If you don't encounter any issues, then you are ready to start.
- Open the solution using Visual Studio 2022 and then, click Run.
- Navigate to PatientChallenge\PatientChallenge.Site\patientchallengesite\ folder.
- Open the terminal command prompt and type: npm start
Inside the Visual Studio solution you will find a test suite made for every endpoint using Moq.
- The models were made without DTOs See information about DTOs.
- The role is just a demonstration property and both the user and the administrator have the same rights.
- PatientChallenge.Site could be optimized with DRY programming principle practices.
- No logger implemented.
You will count with a master credential which is
username: admin
password: 4dmin
Database is auto-created and auto-populated during the first run by the DatabaseInitializer class.