Skip to content

Commit

Permalink
Feature/frameworks command #337 (#338)
Browse files Browse the repository at this point in the history
* chore: add pnpm-lock to gitignore

* feature: !frameworks command added

* chore: get rid of useless comment
  • Loading branch information
barrybtw authored Dec 6, 2023
1 parent df591b1 commit e153e60
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dist
yarn.lock
*.log
k8s-context
pnpm-lock.yaml
95 changes: 95 additions & 0 deletions src/features/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,101 @@ https://kentcdodds.com/blog/understanding-reacts-key-prop
});
},
},
{
words: ["!frameworks", "!framework"],
help: "Provides a list of popular backend- and meta-frameworks",
category: "Web",
handleMessage: (msg) => {
msg.channel.send({
embeds: [
{
title: "",
type: EmbedType.Rich,
description: `
Making a choice of which framework to use is a difficult one and there are many options to choose from. Below are four lists of both frontend- and backend-frameworks including meta-frameworks, last but not least is a list of popular non-js http libraries.
_ _
_ _
`,
fields: [
{
name: "Frontend Frameworks",
value: `
- [React](https://react.dev/)
- [Svelte](https://svelte.dev/)
- [Solid](https://www.solidjs.com/)
- [Vue](https://vuejs.org/)
- [Angular](https://angular.io/)
- [Qwik](https://qwik.builder.io/)
- [Lume](https://lume.land/)
`,
inline: true,
},
{
name: "Backend Frameworks",
value: `
- [Express](https://expressjs.com/)
- [Koa](https://koajs.com/)
- [Fastify](https://www.fastify.io/)
- [Elysia.js](https://elysiajs.com/)
- [Hono](https://hono.dev/)
- [NestJS](https://nestjs.com/)
- [Oak](https://deno.land/x/oak)
- [Feathers](https://feathersjs.com/)
- [AdonisJS](https://adonisjs.com/)
- [Sails](https://sailsjs.com/)
`,
inline: true,
},
{
name: "Meta Frameworks",
value: `
- [Next.js](https://nextjs.org/)
- [Remix](https://remix.run/)
- [Astro](https://astro.build/)
- [SvelteKit](https://kit.svelte.dev/)
- [Nuxt](https://nuxtjs.org/)
- [Fresh](https://fresh.deno.dev/)
- [Blitz](https://blitzjs.com/)
`,
inline: true,
},
{
name: "Other http frameworks",
value: `
- [.NET](https://dotnet.microsoft.com/en-us/)
- [Rocket](https://rocket.rs/)
- [FastAPI](https://fastapi.tiangolo.com/)
- [Spring Boot](https://spring.io/projects/spring-boot)
`,
inline: true,
},
{
name: "_ _",
value: `
- [Laravel](https://laravel.com/)
- [Actix](https://actix.rs/)
- [Flask](https://flask.palletsprojects.com/en/3.0.x/)
- [Gin](https://gin-gonic.com/)
`,
inline: true,
},
{
name: "_ _",
value: `
- [Django](https://www.djangoproject.com/)
- [Axum](https://github.com/tokio-rs/axum)
- [Ruby on Rails](https://rubyonrails.org/)
- [Fiber](https://gofiber.io/)
`,
inline: true,
},
],
color: EMBED_COLOR,
},
],
});
},
},
];

const createCommandsMessage = () => {
Expand Down

0 comments on commit e153e60

Please sign in to comment.