Ship (@paralect_ship) header
Ship (@paralect_ship) profile picture

Full-stack boilerplate with guidelines to build MVPs in days and scale your product for years. Try it out: npx create-ship-app@latest

Launch your product ๐Ÿ‘‰
Joined January 2024
Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)Photo by Ship (@paralect_ship)
๐Ÿš€ Seven years ago, Paralect engineers faced a major development headache: the repetitive setup for new projects. ๐Ÿ“… We took our first step on October 11, 2017, with Ship - a robust, open-source platform. But Ship isn't just a tool today; it's a testament to durability and scalability, effectively handling massive loads and powering over 100+ live products! ๐Ÿ”ฅ Meet Ship: A full-stack boilerplate honed by 13 years of Paralect's innovation. It's free, open-source, and built to last. Explore Ship's tech stack: ๐ŸŒ Koa + node.js (@nodejs) ๐Ÿ”ฎ Next.js (@nextjs) + React (@reactjs) ๐ŸŽจ Mantine (@mantinedev) for stylish components ๐Ÿ“ฆ Turborepo (@turborepo) for monorepo management ๐Ÿ“š node-mongo: reactive extension of MongoDB driver ๐Ÿ“ง React-email & Sendgrid for seamless email flows ๐Ÿ”Œ Websockets via Socket.IO Discover more here: ship.paralect.com #paralectship #dev #opensource #fullstack #js #product #starter #boilerplate #paralect
3
4
2
19
1,660
.@paralect_ship is a full-stack boilerplate for makers to ship better products faster ๐Ÿš€ - madewithreactjs.com/ship
1
1
3
193
.@paralect_ship is a full-stack boilerplate for makers to ship better products faster ๐Ÿš€ - madewithreactjs.com/ship
1
5
376
๐ŸŒŸ Hooray! Our open-source project just hit 200 stars on GitHub! Thank you all for your support! ๐Ÿš€ github.com/paralect/ship #opensource #fullstack #boilerplate #javascript
3
2
1
12
1,637
We're separating small individual functions from Paralect into independent products and services! @saltnbold โ€” design services @clip_wing โ€” video production @paralect_ship โ€” development @momentum_page โ€” marketing/content
1
1
6
108
Styling ๐Ÿšข One of our biggest challenges when launching new projects was dealing with UI components. We went through a long journey, starting from writing custom components from scratch to using other component libraries in our production projects ๐Ÿ›ฃ๏ธ Finally, we discovered that @mantinedev was the perfect solution for our UI component needs ๐Ÿ”ฅ Mantine offers a wide range of customizable components and hooks that make it easy to create visually appealing and functional interfaces ๐Ÿ’… It's an ideal match! ๐Ÿ’˜ ๐Ÿ“Ž Learn more about Mantine in Ship here: ship.paralect.com/docs/web/sโ€ฆ #mantine #ui #frontend #opensource #fullstack #boilerplate #javascript
1
4
97
Authentication flow ๐Ÿšข Ship aims to be the go-to solution for medium-sized web applications, encompassing various user flows. One crucial flow that Ship focuses on is Authentication ๐Ÿ—๏ธ When it comes to Authentication, Ship has got you covered with these features: ๐Ÿ”‘ Sign In ๐Ÿ“ Sign Up ๐Ÿ”— Sign Up / Sign In with Google ๐Ÿ”’ Forgot password ๐Ÿ”„ Reset Password Keep in mind that this serves as our foundation for the flow. You have the freedom to personalize the form fields to align with your specific needs while maintaining the established structure โ˜๏ธ #auth #opensource #fullstack #boilerplate #javascript
2
60
Websockets ๐Ÿšข In the realm of real-time communication between clients and servers, websockets have emerged as a powerful tool. Ship harnesses the capabilities of websockets to facilitate seamless interaction. ๐Ÿ’ช To streamline the process, we've already established a service on each end of the application called 'socket-service'. This service manages connections and implements token-based authentication for enhanced security. ๐Ÿ›ก๏ธ Ship specifically utilizes Socket.io (@SocketIO)- a versatile library that empowers low-latency, bidirectional, and event-driven communication between clients and servers. โšก Furthermore, we integrate a Redis adapter that relies on the Redis Pub/Sub mechanism (redis.io/topics/pubsub) for enhanced efficiency and scalability. ๐Ÿ“ˆ #websockets #opensource #fullstack #boilerplate #javascript
1
4
70
Mailer ๐Ÿšข Simplify email template generation with the Ship's Mailer package ๐Ÿ“จ Create stunning email templates effortlessly using React components with the 'React Email' library. Each template is customizable and corresponds to a specific email type. ๐Ÿ’ช Adding a new template? Easy-peasy. โšก Head over to the 'packages/mailer' turborepo package for seamless development. Preview your email instantly on port 3003. Sending an email? No worries. โœ‹ Just use the 'sendTemplate' function from 'emailService'. Simply provide the recipient, subject, template, and parameter object. โ˜๏ธ Ready to use Ship's mailer? Just set the Sendgrid API key as an environment variable in your backend app. ๐Ÿ”ง Discover more about Mailer in our documentation ๐ŸŒ ship.paralect.com/docs/maileโ€ฆ
2
36
Cloud Storage ๐Ÿšข Ship's cloud storage service, powered by the '@aws-sdk/client-s3' library, provides seamless functionality for effortlessly handling file uploads to the cloud. โ˜๏ธ Our service offers basic features: ๐Ÿ“ค File uploads (both private and public) ๐Ÿ”— File retrieval options (including signed URLs) ๐Ÿ“‹ Copying ๐Ÿ—‘๏ธ Deletion It's compatible not only with Amazon S3 storage but also with Digital Ocean Spaces. ๐Ÿ“Š The base template we provide includes a straightforward example that demonstrates how to upload a user avatar to the cloud, as well as how to update and delete it. ๐Ÿชง Feel free to explore the source code of this service and share your valuable feedback! github.com/paralect/ship/bloโ€ฆ
5
42
Logging ๐Ÿšข To ensure comprehensive tracking and monitoring within the application, Ship utilizes the 'winston' library to configure its logger instance. โœ๏ธ The base template provides a thoughtfully crafted logging setup with different levels for various purposes. Take a look at the following log types: ๐Ÿ“„ Request and response logs provide detailed information, including endpoint names and request status. ๐Ÿšซ Error logs capture unsuccessful requests, helping to identify and address potential issues. ๐ŸŒ Websocket events are logged to gain insightful insights. ๐Ÿ’พ The dedicated database CUD handler ensures thorough tracking of database operations. ๐Ÿ“ง Logs related to sending emails offer valuable data points. The diverse range of logs guarantees a well-rounded approach to tracking and monitoring various aspects of the application. โšก
3
33
Unlock Paralect's full technical expertise in a single product! ๐Ÿšข Thanks @serzhlaptevv for this awesome video ๐ŸŒŸ #boilerplate #fullstack #dev #js #javascript #software
3
1
9
391
Follow to @saint_arsen to discover more news about Ship ๐Ÿšข
I'm back! Now I dedicate my Twitter to ship.paralect.com/! This is all the technical expertise of Paraleัt in one product! Give advice to a newbies! Where to start launching on Product Hunt? #producthunt #developers
5
115
Scheduler ๐Ÿšข In the world of web applications, repetitive tasks can be a real headache ๐Ÿคฏ But fear not, because we have the solution! ๐Ÿ”ฅ Say hello to Ship's Scheduler! โฐ This powerful tool takes care of those pesky tasks that need to be executed at specific intervals throughout the day, month, or year ๐Ÿ“† Imagine effortlessly: ๐Ÿ“ง Sending regular emails to customers ๐Ÿ›ก๏ธ Safeguarding your organization's critical data with backups ๐Ÿงน Keeping your databases clean by clearing logs The Scheduler has got you covered! With its user-friendly interface, you can easily schedule jobs for execution on designated dates or even set recurring patterns. ๐Ÿ” So, how does it work? ๐Ÿค” The Scheduler consists of two essential components: cron jobs and handlers. โฒ๏ธ Cron jobs patiently wait for the perfect moment, triggering more specific events. ๐Ÿ‘‚ Handlers diligently listen to events generated by cron jobs, seamlessly running the assigned tasks. ๐Ÿ”— Explore our comprehensive documentation for all the details: ship.paralect.com/docs/schedโ€ฆ
1
9
61
Migrator ๐Ÿšข ๐ŸŒฑ As the application grows, your database schema will also evolve. To ensure compatibility, you'll need to update existing documents when making changes to the schema (adding, removing, or replacing fields). ๐Ÿ“ Migrator is a service that handles MongoDB migrations, versioning, and logging, ensuring that your database data matches the new schema or requirements. Here's how it works ๐Ÿ› ๏ธ ๐Ÿ” Migrator retrieves the current successful migration version from the 'migrationVersion' collection. โฌ†๏ธ It applies each migration above this version in sequence. ๐Ÿ“Š Each migration is logged in the 'migrationLog' collection with its status. Example ๐ŸŒŸ To assign special rights to some users, we add a new boolean field 'isAdmin' to the user schema. New users will have 'isAdmin' set automatically upon creation, but old users won't. ๐Ÿฅฒ Migrator helps add the field to old users. Take a look at the screenshot to get a glimpse of the migration code ๐Ÿ–ฅ๏ธ More about Migrator in Ship's documentation: ship.paralect.com/docs/migraโ€ฆ
2
10
115
Introducing node-mongo: an open-source reactive extension to the official Node.js MongoDB driver, developed by Paralect engineers. โšก Tested by hundreds of live products, node-mongo offers unbeatable features: ๐Ÿ”‘ ObjectId mapping: Automatically converts 'ObjectId' to 'string' for the '_id' field. โœ… Schema validation: Validate your data before saving with Zod schemas. ๐Ÿš€ Reactive: Get real-time events for document creation, updates, and deletions. โฒ๏ธ CUD operations timestamps: Auto-set 'createdOn', 'updatedOn', and 'deletedOn' timestamps. ๐Ÿ“ซ Outbox support: Implement the transactional outbox pattern with `_outbox` collections. ๐Ÿ“– Paging: Enjoy a high-level paging API. and much more... Don't wait, try it now! Install with 'npm i @paralect/node-mongo' and share your valuable feedback in this thread. โœ๏ธ Explore the power of our open-source MongoDB driver extension here: ship.paralect.com/docs/packaโ€ฆ
1
9
71
Database ๐Ÿšข Ship relies on MongoDB as its main database. Embracing a document-oriented approach to data management, MongoDB offers Ship flexibility and ease of development that aligns with their goals ๐Ÿ„ Why MongoDB? ๐Ÿค” ๐Ÿ“Š Easy Horizontal Scaling: MongoDB enables easy scaling across multiple servers to manage increasing data demands. ๐Ÿ—บ๏ธ Simplified Data Mapping: Its document-oriented approach streamlines the mapping of application data to database objects. ๐Ÿ“œ Flexible Document Schemas: Offers adaptable, schema-less document structures, easing adjustments to evolving data needs. While we continue to love and utilize MongoDB in production, we are not limited to it ๐Ÿ“ˆ We complement MongoDB with relational databases and other specialized databases like Redis for caching or Elasticsearch for full-text search ๐Ÿ”Ž Discover why MongoDB is our go-to choice at Paralect from the arcticle by @that_igor_ : igor.paralect.com/blog/why-wโ€ฆ
1
10
140
Schemas ๐Ÿšข Ship harnesses the power of Zod - the ultimate data validation library. ๐ŸŒŸ Why Zod? ๐Ÿค” Zod is designed with TypeScript in mind, enabling us to infer types from schemas rather than writing them separately. ๐Ÿ’ช Ship minimizes errors across three critical domains: 1. Enhancing the user experience through web form validation, effectively preventing invalid submissions โœ… 2. Maintaining data integrity, error prevention, and predictability in API requests ๐Ÿ”„ 3. Ensuring data integrity and preventing inconsistencies by validating data before database insertions and updates ๐Ÿ”’ Discover more ๐Ÿ” ship.paralect.com/docs/packaโ€ฆ
1
11
58
Architecture ๐Ÿšข Every technological decision is driven by simplicity. โœจ We believe that the product used by people is the only reason why technologies exist. Our goal is to help products stand up on their feet without investing too much in the early stages. ๐Ÿค On a high level, Ship consists of the following parts: Web ๐ŸŒ API ๐Ÿ“ก Scheduler โฐ Migrator ๐Ÿ“ Deployment ๐Ÿš€ Check out the image below to see how they all fit together. Learn more here ๐Ÿ“š ship.paralect.com/docs/archiโ€ฆ
3
11
220