Skip to content

TEAM-EUPHORIA/TMS-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Training Management System - TMS

Created By Team Euphoria


Description

This is a donet core web api project for the Training Management System - TMS.


Tools and Technologies

C# .NET Core Swagger


Pre-Requisites

  • .Net core SDK
  • Visual Studio code
  • Basic Knowledge in C#
  • SQL Server
  • SQL Server Management Studio

Setup

Initial Setup

> git clone https://github.com/TEAM-EUPHORIA/TMS-API.git

> cd TMS-API

> code .

Setting up database

Open SQL Server Management Studio


Right click on Databases

SQL Server Management Studio

Click Restore Database...

SQL Server Management Studio

Click Device then Click on the button next to the text box

SQL Server Management Studio

Click on add locate the tms.bak file click ok again click ok

Location of backup file - TMS.API/Sample Data/Database backup/tms.bak

SQL Server Management Studio

if You want you can change the the Database name and after adding TMS.bak

SQL Server Management Studio

Finally Click Ok to restore database If you did everything you will get a window like this

SQL Server Management Studio


Running Web api Project

  • change the connection string in appsettings.json

Hop back to Visual studio code open up a new terminal

dotnet build
dotnet run

That's it the web api will be up and running on

Terminal

You can click on the link to view it in browser

Swagger Output


The End