Advice Needed: One page website with search box

TGZ

Joined
Oct 18, 2018
Messages
18
Likes
9
Degree
0
Hello builders,

What is the best way to build a 1-page site that solely consists of some text and a search function that outputs a small amount of information based on specific search query? Users will search based on a single parameter, and the webpage will output 5 pieces of information. For example a site where someone searches an employee number and the text displayed is employee number, employee start date, employee full name, hourly salary, work email. The database will have less that <100k data points.

I have functional knowledge of HTML, CSS, WordPress, and Python. I am thinking I will have to use PHP, MySQL, and basic front end coding. The important thing is I want the website to be secure and easy to build, and if there is a way to build it in WordPress I would prefer that.

Also, the website will also be built out with more pages in the medium-term future. Not sure how much this matters at this point for how I build it. Thanks.
 
Does this web app need a user friendly backend to input data? If not the whole thing could be done in under hundred lines of php. Maybe 20 lines of JavaScript if you want to have a smoother ui.
 
Does this web app need a user friendly backend to input data? If not the whole thing could be done in under hundred lines of php. Maybe 20 lines of JavaScript if you want to have a smoother ui.
I will need to update it maybe 1-2x per month, I am going to keep the data in a csv file so I believe I can easily change it through sql. I am going to write it in PHP on a WordPress site, just ordered a PHP textbook (overkill but I prefer having a physical reference book) so im pretty psyched.
 
I say go with what you know, but if you're interested in expanding your knowledge a bit, I'd go with a couple lines of JavaScript, backed by AWS API Gateway and Lambda. Would be 1000x cheaper and less headache that running a webserver.
 
  • Like
Reactions: TGZ
I say go with what you know, but if you're interested in expanding your knowledge a bit, I'd go with a couple lines of JavaScript, backed by AWS API Gateway and Lambda. Would be 1000x cheaper and less headache that running a webserver.
Could I build it on a Siteground shared server with WP built in mySQL DB (e.g. would my main constraint be the shared hosting)? Then once I have a enough traffic use a different framework such as one you recommend. I have 0 backend experience so I'm trying to plan it out before doing it.

I still need to scrape the info from online so I have a few weeks before I build out the site.
 
Can run Wordpress to take care of the backend and a bit of JS in the front to filter stuff, or just AWS lambda + aws api gateway like pfingy said above. Can even just use a json file + js.
 
  • Like
Reactions: TGZ
Back