start tutorial

This commit is contained in:
jacob
2023-09-04 17:34:11 -05:00
parent 948b3bb8cf
commit 473427db87
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# What is sern?
We're a discord bot framework. The lack of tooling in the discord.js community is apparent, and is also monolithic. You can make botseasily with our suite of tools, and with conciseness. We're also a community. PLS join [here](https://sern.dev/discord) 😼.
### Problem
- **no beginner friendly handler**
- **bad practices in discord.js guide**
- **lack of wholesome community in discord.js**
- **lack of modularity**
sern tries to solve all these problems. This tutorial is for anyone and everyone, beginners and advanced a like.
## Solution
- our handlers are modular and efficient.
- from my personal experience, the community feels pretentious and mean.
- discord.js discord chat feels pretentious and unwelcome to beginners.
- From community plugins to container, swap out tooling and things with ease.

View File

@@ -0,0 +1,18 @@
A package manager is like a helper for your programs. It brings all the tools for your projects and makes sure they fit and work well together. It's like having someone organize things so you can work without problems.
Some examples are
- [npm](https://www.npmjs.com)
- [Yarn](https://yarnpkg.com)
- [pnpm](https://pnpm.io/)
For this tutorial, we'll be using **[Yarn](https://yarnpkg.com)**. It's made by Facebook.
**Advantages of Yarn:**
1. **Performance:** Yarn is fast enough and has efficient dependency management.
2. **Lockfile:** Yarn's `yarn.lock` file ensures deterministic builds, crucial for collaboration.
4. **Offline Mode:** Yarn offers a reliable offline mode, ideal for environments with limited internet access.
5. **Selective Installs:** You can choose to install specific packages without affecting the entire dependency tree.
6. **Plug-n-play:** Yarn 2 introduces "plug-n-play" (PnP), reducing disk space usage.
**Choice of Package Manager:**
For this tutorial, we will use Yarn as the package manager. Yarn offers several advantages like above and it's a great choice to streamline development and ensure consistency, especially in collaborative environments. Both npm and Yarn are excellent package managers, and your choice will depend on your specific project requirements and personal preferences. Regardless of which package manager you choose, make sure to document your choice and ensure that your team members are on the same page to avoid potential issues during development.