This is an application made to solve the problem of The Candy and Snacks Store System on Coding Craft 1.
-
Frontend project (CodingCraftWebApp)
- HTML
- JavaScript
- AngularJS
-
Backend (CodingCraft1)
- C#
- SQL Server
- Open the .sln file with Visual Studio (CodingCraft-01/CodingCraft1/CodingCraft1.sln)
- Rebuild project to download all nuget packages (make sure nuget package restore is enabled)
- Open package manager and run
PM> update-database
- This will create a database named
CodingCraftDb
and insert a admin user namedJefh
- his password is123456
- Configure a simple HTTP Server to run the frontend application. (See the steps below to run a simple HTTP server with Python)
- Go to frontend app directory
- run
> py -m http.server [server-port]
. Example:py -m http.server 8080
. If using python <= 2.7 changehttp.server
toSimpleHTTPServer
- Do not show admin menu items to non admin users
- View with all expenses and incomes, grouped by month
- Get user of sale in API Request (currently it's being sent from frontend, urgh)
- Friendly errors messages
- Client side validations (money, dates, etc.)
-
Improve user interface - Allow admin user to add new admins
- Send email alerts to admins for proximity of puchases payment
- View 'my purchases' - Show sales of logged user
- Show unauthorized message to non authorized users
- Notify users when payment reminders is sent