Giter VIP home page Giter VIP logo

medicalstaff's Introduction

Pretty and Simple ASP.NET Core REST API with Entity Framework Core - By Jonathan P. Marinho

Context

The goal is to develop an API that allows doctors to create, edit and delete records, while patients will be able to view their own information. The project aims to offer security, efficiency and ease of access to clinical data, ensuring patient privacy and facilitating collaboration between doctors and others Health professionals. The medical staff as well as the patients will be able to create their own user accounts.

Setup

- How to install Visual Studio 2022

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows. Visual Studio is one stop shop for all applications built on the .Net platform. One can develop, debug and run applications using Visual Studio. Both Forms-based and web-based applications can be designed and developed using this IDE. See more.

Database

Download & Install the Microsoft SQL Server Management Studio

Executing the API

  • Donwload the Solution or clone it as follows

  #Clone this repository
  $ git clone https://github.com/Linguist-Codifier/MedicalStaff.git

Configurations

Choosing whether executing the API with 'Runtime memory as its Database' or with SQL Server

  • For 'In memory' database, uncomment this line, and comment the one above at Engine.cs file:
  • Open the Solution

Make sure you open it up with Visual Studio 2022 in case there are any other versions already installed.
  • After openning the Solution, Visual Studio will check any missing dependency and will try to download them from NuGet.

  • Compile the solution by pressing CTRL + SHIFT + B.

  • Then, open up the NuGet Package Manager and write 'add-migration StartUp'. Make sure your Connection String is already set up as previously mentioned.

  • Then finally write 'update-database' on the same console.
  • After everything is set up, build the solution by pressing CTRL + SHIFT + B and run it as follows:

There are two main modes of execution, one is in Debugging mode and the other is without debugging at runtime. It can also be done by either pressing CTRL + F5 (For runtime debugging) or F5 (No debugging).

Executing

Download a video demonstration.

medicalstaff's People

Contributors

linguist-codifier avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.