This project is online implementation of post office.
It will be very useful for office employees and for clients. Why? Okay, the employees can easily manage orders and change their location progress, so clients can check this information by TTN order number and be aware of order status.
The system also notifies clients by sms with TTN number when order was created, so clients always have information about order and their are no needs to communicate with employees out of the system (by phone or some other way).
To get more information on this project check our wiki.
Branch naming convention:
feature/task-name-{card-id}
fix/task-name-{card-id}Before starting verify you have all required tools installed and configured:
Install this tools for better developing experience:
If you are using VisualStudio you can download this extensions that simplifies selecting multiple projects.
To use it, you need to setup its configuration file - PostOffice.sln.startup.json.
The .env file is used to define environment variables that will be applied before starting any project in the solution.
It is a file tool to override values for any common configuration settings like connection strings.
The .env and PostOffice.sln.startup.json file is not stored in git repository and you have to create them on your own.
Use .env.sample and PostOffice.sln.startup_sample.json files correspondingly as a samples.
Use scripts/setup.cmd to create initial version of .env and PostOffice.sln.startup.json.
The script is basically just copying the sample files.
Verify that you have correct values for connection strings.
You are allowed to do any changes in .env and PostOffice.sln.startup.json.
Note services use IP address of your
virtual machine. To find it out typedocker-machine ipin console
Use scripts/init.cmd to restore dependencies on client and server sides.
Use scripts/build.cmd to build all projects in solution.
To build solution for developing purpose open
PostOffice.slninVisualStudioand pressctrl + shift + B
- Start all required services. Run
Infrastructure/runall.cmd - Start all required projects. Run
script/runall.cmd
- Start all required services. Run
Infrastructure/runall.cmd - Run API server in
VisualStudioor with consoledotnet run --project PostOffice.API - Run SmsSender service in
VisualStudioor with consolefunc start - Run Angular server with console
npm run start
