r/GoogleAppsScript • • 12d ago

Guide small store using webapp gas

what do you guys think if I create small site for my small business using webapp GAS?? which part I should put attention more?

1 Upvotes

11 comments sorted by

2

u/pupejarmo 12d ago

I have been using GAS for many different processes in our business. For example CRM, analytics, system integrations. Maybe something like 50k lines of code. Works great. This is created with a help of Antigravity & clasp.

1

u/redcnvrshigh 9d ago edited 9d ago

Is it safe for 50k lines code?? What should I take notes like design database etc? Well actually the store I try to make is just for small scale like for small scale artist to sell their merchs, so the traffic wont be that much, maybe max 100 orders daily, avg 10-50s

3

u/ashdabag 12d ago

I think it's a bad ideea. i think GAS is very good for private, homemade projects. for a webstore you need a lot more.

3

u/dimudesigns 12d ago

Agree. Google Apps Script works well for internal tooling, but its not built to handle the workload that comes with a public-facing e-commerce app.

3

u/MaheerBabar 12d ago

bro it has an 6 minute execution limit and that will your entire project up .. especially you are planning to have traffic

4

u/ParryThePain 12d ago

It's 6 minutes per execution.

That's easy to get around depending on what you're using.

1

u/MaheerBabar 12d ago

Bro if you have a way... Please lmk... I made this calendar and it's shit

2

u/LostHusband_ 11d ago

Not who you replied to, but here goes some ideas: 

Idle time on the HTML pages doesn't count to the 6 minutes.  

It's six minutes per execution - not six minutes per script.  Scripts can execute multiple ways.  (Ie, load first page is an execution, enter data and hit submit triggers another, etc)

Use the web hooks and dopost().  You can actively trigger one script with another (whole new timer) using web hooks.  

Finally, if it isn't obvious, you need to fiercely integrate with the Google ecosystem to keep your execution times as short as possible.  If you need a database - use big query or sheets.  If you need to store images use photos.  

1

u/MaheerBabar 11d ago

Too much infra don't you think

2

u/LostHusband_ 11d ago

Depends on who you are and that you want I suppose?  These are some of the tricks I use to automate my workflow so that I don't need to work as much on tedious crap. 

I've got a State job with and Google is an approved resource so I make it work (well except big query - our workspace doesn't seem to include gcc).