Monthly cost of employees - Full Stack App

View Live app

Please click on this link to view live working app.

Remember our first weekend challenge? It's time to re-visit some old code and bring it up to date with everything you know. This will be an excellent practice run for your next assessment covering Node/Express, AJAX, and SQL.

Full Stack App

Convert your previous weekend 1 challenge application to utilize Node/Express, AJAX, and SQL. Any application logic can remain on the client side, but all data storage should be handled by the server and your database. Make use of Express routing modules to organize your server code. Your application should track salary usage on the page (original Pro Mode) and allow the user to remove this person from the list (original Hard Mode).

If the page is refreshed, it should load and display all stored and active employees.

Hard Mode

No more deleting! When the Remove button is clicked, do not delete this person from the database. Your app should just set them as inactive and not show them on the list. The salary total should account for only active employees.

Pro Mode

Create an interface on the page that would allow you to toggle employees from active to inactive and back. Your salary total should only tally active employees and change as employees are changed.