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: 91Word Count: 259See All articles From Author

Add Comment

Hardware/Software Articles

1. Why Are Telehealth Software Solutions The Key To Modern Healthcare Evolution?
Author: Purnima Mistry

2. Harnessing Alumni Networks For Effective Student Recruitment
Author: Brenda Joyce

3. Your Gateway To Seamless Whatsapp Communication
Author: Jeet Hanani

4. Complete Guide To Online Car Rental Software For Rental Business Owners
Author: RentAAA

5. Top 7 Benefits Of Amazon Web Services
Author: Sataware

6. Top 8 Marketing Challenges & Solutions
Author: Byteahead

7. Simplify Your Billing Process With E-invoicing Software
Author: nagaraj

8. Using Online Video Collaboration Tools To Revolutionize Workflow
Author: ayush

9. Top 6 Reasons Progressive Web App Will Be The Future Of Apps
Author: Bella Stone

10. Why Inventory Management Software Is Important For Small Businesses
Author: nagaraj

11. Scrape Ubereats Menu Data With Calories For Ontario And Michigan
Author: Devil Brown

12. Best Place For Apple Device Repairs In Lahore, Apple Force
Author: Abdul Maalik

13. Top 5 Tips To Reduce Mobile Game Development Costs
Author: Bella Stone

14. The Complete Handbook Of 2024 Creative Approval Software
Author: ayush

15. S10.ai: Ai Medical Scribe | Better Patient Care | 99% Faster
Author: John Wick

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