123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Hardware-Software >> View Article

Getting Started With Open Saas

Profile Picture
By Author: Ricardo Batista
Total Articles: 1
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

When building [AI Blog Articles](https://getaiblogarticles.com/) and [Meeting Reminders](https://meeting-reminders.com/), I decided to get started as fast as possible. So I looked for a free boilerplate and stumbled upon Open SaaS, which used YC-backed Wasp. It is a full-stack React + NodeJS + Prisma that takes 8 hours to get started with.

Their documentation is brilliant, and great support over Discord. I decided to list here the full walkthrough on how to set up the development environment so that it is a simple copy-paste for you.

For frontend deployment, I used Netlify (for the generous free package) and the recommended fly.io for server + database (also cheap package).

Run development commands

Start development database:
cd app && wasp start db

View development database in Prisma:
wasp db studio

Start development app:
cd app && wasp start

Start development blog:
cd blog && npm install && npm run dev

Run frontend deployment commands

Locate the folder:
cd .wasp/build/web-app

Install dependencies:
...
... npm install && REACT_APP_API_URL={your-server-URL} npm run build

Deploy preview:
netlify deploy

Deploy to production:
netlify deploy --prod

Every time there is a Wasp app rebuild (with wasp build), it will remove your .wasp/build/ directory. Until the GitHub issue is fixed, you need to update netlify.toml’s publish line to:

publish = ".wasp/build/web-app/build"

Run backend & db deployment commands

Locate the folder:
cd .wasp/build/

Deploy preview:
flyctl deploy --remote-only --config ../../src/shared/fly-server.toml
Every time there is a Wasp app rebuild (with wasp build), it will remove your .wasp/build/ directory. That’s why there is a copy of the file in app/src/shared/.

Run blog deployment commands

Locate the folder:
cd blog

Build the app:
npm run build

Deploy preview:
netlify deploy

Deploy to production:
netlify deploy --prod


Good luck with building, hopefully it will be faster now!

Other projects from the Founder:

- [Tramitit](https://tramitit.com/)
- [FidForward](https://fidforward.com/)

Total Views: 192Word Count: 259See All articles From Author

Add Comment

Hardware/Software Articles

1. ⁠the Role Of Stainless Steel Round Bars In Construction And Fabrication
Author: Online Fittings

2. Ai Due Diligence Services: Common Mistakes That Undermine Value
Author: Sonu

3. Event Management Company In India – Best Event Planners For Weddings, Corporate & More
Author: ayush

4. Powering Progress: A Deep Dive Into Plg Supplies
Author: Jack Suparrow

5. Exchange Programs For Students: Benefits, Opportunities, And How To Apply
Author: ayush

6. Custom Ai Development: Solving Problems That Off-the-shelf Tools Cannot
Author: Sonu Kumar

7. Best Cultural Tours Around The World: Discover Heritage, Art & Traditions
Author: ayush

8. Artwork Approval Software: The Ultimate Guide To Faster, Smarter Design Approvals
Author: ayush

9. Best Video Proofing Tools For Youtubers To Streamline Content Creation
Author: ayush

10. What Multi-currency Reporting Clarifies For International Teams?
Author: Robert Noble

11. How To Improve Design Thinking Skills: A Complete Guide
Author: ayush

12. Online Proofing For Graphic Designers: The Ultimate Guide To Faster Approvals
Author: ayush

13. Why Automating Identity Management In Oracle E-business Suite Is A Strategic Imperative
Author: Tushar Pansare

14. Video Review And Approval: The Complete Guide For Creative Teams
Author: ayush

15. Benefits Of Hiring A Creative Design Agency For Your Brand
Author: ayush

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: