Better Limited is a small retail corporation selling electronic appliances. It consists of one office, one warehouse, and two retail stores. There are approximately 90 employees in Better Limited at the moment. As the company expands, it aims to extend its business not only the local market but also the market in the Pearl River Delta Region. The demand for having a new computerized management system has become much larger because of the expansion.
-
Login
-
POS
-
Purchase management
-
Inventory management
-
Shipping management
-
Accounting management
-
Supplier management
-
User management
-
Other
-
Frontend:
- C# winform
-
Backend:
- C# .Net MVC
- XAMPP MYSQL
This browser does not support PDFs. Please use the link below to get the PDF file.
UI.pdfThis browser does not support PDFs. Please use the link below to get the PDF file.
UserGuide.pdf-
Download the executable from here
-
Extract the zip file
-
Start the Xampp MySQL server
-
Import the SQL file in the
SQL
folder- Please change the config of xampp to allow the import of large file
- Change the [max_allowed_packet = 1M] to [max_allowed_packet = 1024M]
- Please change the config of xampp to allow the import of large file
-
Double Click TheBetterLimited-Server.exe to start the server. The server are build with .Net runtime included, so you don't need to install .Net runtime
-
Double Click TheBetterLimited-System to start the client.
-
Make sure you have following software installed
- Xampp
- .Net 6.0 SDK
- Entity Framework Core Tools
-
Create the database that will be same as you specify in secret.conf
-
Create three folder “./var” and “./var/log” and “./var/tmp” under build directory. You can change set this in project.csproj
-
Create a file call secret.conf under ./etc
# The Mail Account ServerURL="smtp.example.com" Port="587" Domain="@example.com" Username="your user name" DisplayedName="TheBetterLimited -- IT Team" Password="your password" # The API token Token="ThisRequiredALongToken" # MySQL connection string ConnectionString="Data Source={db};Initial Catalog={};User Id={user};password={pw};ConnectionTimeout=5"
-
Migration the database
-
Run the following command to migration the database
dotnet ef database update --project ./TheBetterLimited-Server
-
If you want to create a new migration, run the following command
dotnet ef migrations add {migration name} --project ./TheBetterLimited-Server
-
-
Run the following command to
-
build the server
dotnet publish -c Release --self-contained true -o ./build/TheBetterLimited-Server --project ./TheBetterLimited-Server
-
run locally
dotnet run --project ./TheBetterLimited-Server
-