Skip to content

developeramarish/PTMS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PTMS

PTMS is a public transport management system based on .net core web api and angular 2+

Getting started

The application consists of two folders.

  • PTMS.Server - backend part, built on .net core 2.2 and web.api
  • PTNS.Web - frontend part, built on angular 2+

Prerequisites

  • Visual Studio 2017 (updated to last version)
  • .NET Core SDK
  • NodeJs v10.9.0 or later
  • @angular/cli - to install it run npm install -g @angular/cli in the console window with admin rights

How to start up - backend

  1. Open solution in VS, run build command
  2. Take Projects database backup and restore it in the directory specified in /PTMS.Server/PTMS.Api/appsettings.json file.
  3. Open restored database and run the following script under it run a script from "sql before start.sql" file
  4. In Visual Studio, navigate to Tools -> Nuget Package Manager -> Package Manager Console. In the console run update-database command to apply migrations

How to start up - frontend

  1. Open PTMS.Web folder in the console window with admin rights
  2. Run npm install
  3. Run npm run start

About

PTMS is public transport management system based on .net core web api and angular 2+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 57.3%
  • TypeScript 30.5%
  • HTML 10.7%
  • CSS 1.3%
  • JavaScript 0.2%