https://github.com/workplacex/application
Use this repo to build a new application with WorkplaceX framework. Empty hello world application to get started.
https://github.com/workplacex/application
Last synced: 4 months ago
JSON representation
Use this repo to build a new application with WorkplaceX framework. Empty hello world application to get started.
- Host: GitHub
- URL: https://github.com/workplacex/application
- Owner: WorkplaceX
- Created: 2017-08-16T07:40:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T14:55:58.000Z (about 5 years ago)
- Last Synced: 2025-10-26T16:35:38.065Z (8 months ago)
- Language: C#
- Homepage:
- Size: 3.29 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Application Doc
ASP.NET Core application with Angular and MS-SQL Server.
 (github actions;)
[](https://travis-ci.org/WorkplaceX/ApplicationDoc) (travis;)
# Getting Started
The following components need to be installed on the machine as a prerequisite (Windows or Linux):
* [Node.js](https://nodejs.org/en/) (LTS Version)
* [.NET Core](https://dotnet.microsoft.com/download) (Version 5.0)
* [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads) (Free Express Edition)
## Install
```cmd
### Git clone (parameter recursive clones also required submodule Framework):
git clone https://github.com/WorkplaceX/ApplicationDoc.git --recursive
cd ApplicationDoc
### On first launch it will ask to register wpx command in environment path:
./wpx.cmd # For Windows
./wpx.sh # For Linux
### From now on just use:
wpx
### Set ConnectionString
wpx config connectionString="Data Source=localhost; Initial Catalog=ApplicationDoc; Integrated Security=True;" # Example Windows
wpx config connectionString="Data Source=localhost; Initial Catalog=ApplicationDoc; User Id=SA; Password=MyPassword;" # Example Linux
### Deploy Database
wpx deployDb
### Start
wpx build
wpx start # http://localhost:5000/
### Stop
killall -g -SIGKILL Application.Server # Linux Only
```
## Project Folder and File Structure
* "Application/" (Application with custom business logic)
* "Application.Cli/" (Command line interface to build and deploy)
* "Application.Cli/DeployDb/" (SQL scripts to deploy to SQL server)
* "Application.Database/" (From database generated database dto objects like tables and views)
* "Application.Server/" (ASP.NET Core to start application)
* "Application.Website/" (Custom html and css in Angular)
* "Framework/" (External WorkplaceX framework)
* "ConfigCli.json" (Configuration file used by Application.Cli command line interface)
* "ConfigServer.json" (Generated configuration used by Application.Server web server)