« first day (3834 days earlier)      last day (1133 days later) » 

6:40 AM
What would be your recommended tech stack if i am to build a demo app for self learning purposes
The website should have the following features.
List of dishes available in the restaurant including info such as price, review, name, ingredient
Account for customer including list of to-go order he made in the last month with discount after certain times he or she purchase orders certain number of times.
Storage of search info from customer looking for dishes.
Account for employees including details such as amount of salary payment received, schedule for next week. Account admin should be total number of revenue, cash flow, cost, plus the customer search data to identify current customer appetite trend.
 
 
5 hours later…
12:07 PM
@kungho Really, any tech stack would work. What you've written sounds reasonable. However, I notice that you're focusing entirely on the backend. How will you do the frontend? Classic web application where a HTML page is generated on backend and sent to browser? Or some JavaScript framework like React? Personally, I like to keep it simple and to add small elements of interactivity e.g. with VueJS or vanilla JavaScript.
For Search, you do not need Elasticsearch or other special services. Postgres has a full text search extension that will already cover most search needs, though it's more “acceptable” than “very good”. See this tutorial.
I also noted that your scenario is conflating to related business domains that are actually totally distinct: managing customer orders, and managing payroll/schedule. There's no particular reason those should be managed by the same application.
 
 
3 hours later…
3:12 PM
Roberta Arcoverde on March 03, 2021
In order to get the most performant site possible when building the codebase for our public Stack Overflow site, we didn’t always follow best practices.
 

« first day (3834 days earlier)      last day (1133 days later) »