Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/creazy231/strapi-plugin-raw-query

Raw Query allows you to send raw query strings to the database.
https://github.com/creazy231/strapi-plugin-raw-query

Last synced: 9 days ago
JSON representation

Raw Query allows you to send raw query strings to the database.

Awesome Lists containing this project

README

        


Strapi Plugin: Raw Query

Raw Query allows you to send raw query strings to the database within
Strapi CMS
backend. That's it 🤷🏻‍♂️



Maintenance


Maintainer


GitHub release


NPM release


Github all releases


Support me on Ko-fi


GitHub forks


GitHub stars


GitHub watchers


Strapi Plugin - Raw Query

## ⏳ Installation
Install Strapi with this **Quickstart** command to create a Strapi project instantly:

- Use **yarn** to initialize a new Strapi project (recommended). [How to install yarn](https://yarnpkg.com/lang/en/docs/install/)

```bash
# with yarn
yarn create strapi-app my-project --quickstart

# with npm/npx
npx create-strapi-app my-project --quickstart
```

_This command generates a brand new project with the default features (authentication, permissions, content management, content type builder & file upload). The **Quickstart** command installs Strapi using a **SQLite** database which is used for prototyping in development._

---

- Add the `strapi-plugin-raw-query` plugin

```bash
yarn add strapi-plugin-raw-query@latest

# or

npm i strapi-plugin-raw-query@latest
```

- Enable the plugin

```js
// config/plugins.js

module.exports = {
'raw-query': {
enabled: true,
},
// ...
}

```

- After successful installation you've to build a fresh package of the Strapi backend:

```bash
yarn build && yarn develop

# or

npm run build && npm run develop
```

- or just run Strapi in the development mode with `--watch-admin` option:

```bash
yarn develop --watch-admin

#or

npm run develop --watch-admin
```

The **Raw Query** plugin should appear in the Plugins section of Strapi sidebar after you run app again.

# 🏚 Strapi v3 Support
For Strapi v3, you can install the plugin using the following command and continue with the installation:
```bash
yarn add [email protected]

# or

npm i [email protected]
```

## 🖐 Requirements

**Supported Strapi versions**:

- Strapi: >= 4.x.x

**Supported Node / NPM versions**:
- Node: >= 12.x.x <= 20.x.x
- NPM: >= 6.0.0

_We recommend always using the latest version of Strapi to start your new projects_.

## 🤝 Contributing

Feel free to fork and make a Pull Request to this plugin project. All the input is warmly welcome!

## ⭐️ Show your support

Give a star if this project helped you.


Support me on Ko-fi

## 🔗 Links

- [NPM package](https://www.npmjs.com/package/strapi-plugin-raw-query)
- [GitHub repository](https://github.com/creazy231/strapi-plugin-raw-query)

## 📝 License

MIT License Copyright (c) 2024 creazy231

[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://GitHub.com/creazy231/)