PTMS is a public transport management system based on .net core web api and angular 2+
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+
- 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
- Open solution in VS, run build command
- Take Projects database backup and restore it in the directory specified in /PTMS.Server/PTMS.Api/appsettings.json file.
- Open restored database and run the following script under it run a script from "sql before start.sql" file
- In Visual Studio, navigate to Tools -> Nuget Package Manager -> Package Manager Console. In the console run update-database command to apply migrations
- Open PTMS.Web folder in the console window with admin rights
- Run npm install
- Run npm run start