Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Feb 2, 2025
1 parent da763af commit 5cb7315
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 29 deletions.
20 changes: 20 additions & 0 deletions config/messaging.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

return [
'telegram' => [
'token' => app_env('TELEGRAM_TOKEN'),
'chat_id' => app_env('TELEGRAM_CHAT_ID'),
],

'slack' => [
'token' => app_env('SLACK_TOKEN'),
'channel' => app_env('SLACK_CHANNEL'),
'webhook_url' => app_env('SLACK_WEBHOOK_URL'),
],

'twilio' => [
'account_sid' => app_env('TWILIO_ACCOUNT_SID'),
'auth_token' => app_env('TWILIO_AUTH_TOKEN'),
'from' => app_env('TWILIO_FROM'),
],
];
35 changes: 15 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
{
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.7.9",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"build": "vite build",
"dev": "vite"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@tailwindcss/vite": "^4.0.1",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5"
"@vitejs/plugin-vue": "^5.2.1",
"autoprefixer": "^10.4.20",
"axios": "^1.7.4",
"concurrently": "^9.0.1",
"laravel-vite-plugin": "^1.2.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.17",
"vite": "^6.0.11"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
11 changes: 3 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ You must make sure the following items are installed on your machine.

We would like to extend our thanks to the following sponsors for funding Bow Framework development. If you are interested in becoming a sponsor, please contact [Franck DAKIA](https://github.com/papac):

- [Papac & Co](https://papacandco.com)
- [Adjemin](https://adjemin.com)
- [Akil Technologies](https://akiltechnologies.com/)
- [Akil Technologies](https://akiltechnologies.com)
- [Etudesk](https://etudesk.com)

## Contributing
Expand All @@ -40,16 +41,10 @@ Thank you for considering contributing to Bow Framework! The contribution guide
- [Franck DAKIA](https://github.com/papac)
- [Thank's collaborators](https://github.com/bowphp/app/graphs/contributors)

## Contact

- [Franck DAKIA](https://github.com/papac)
- [Thank's collaborators](https://github.com/bowphp/docs/graphs/contributors)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Please, if there is a bug on the project contact me by email or leave me a message on [Slack](https://bowphp.slack.com). or [join us on Slask](https://join.slack.com/t/bowphp/shared_invite/enQtNzMxOTQ0MTM2ODM5LTQ3MWQ3Mzc1NDFiNDYxMTAyNzBkNDJlMTgwNDJjM2QyMzA2YTk4NDYyN2NiMzM0YTZmNjU1YjBhNmJjZThiM2Q)

Please, if there is a bug on the project contact me by email or leave me a message on [Telegram](https://t.me/+PiAXH-w9qLUyOTU0)
19 changes: 19 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import defaultTheme from "tailwindcss/defaultTheme";

/** @type {import('tailwindcss').Config} */
export default {
content: [
"./storage/views/*.php",
"./templates/**/*.blade.php",
"./templates/**/*.js",
"./templates/**/*.vue",
],
theme: {
extend: {
fontFamily: {
sans: ["Figtree", ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [],
};
48 changes: 47 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import vue from "@vitejs/plugin-vue";
import path from "path";
import tailwindcss from "@tailwindcss/vite";

export default defineConfig({
plugins: [react()],
plugins: [react(), vue(), tailwindcss()],
root: path.resolve(__dirname, 'frontend'),
build: {
outDir: path.resolve(__dirname, 'public'),
emptyOutDir: true,
rollupOptions: {
input: {
app: path.resolve(__dirname, 'frontend/js/app.js')
},
output: {
entryFileNames: 'js/[name].js',
chunkFileNames: 'js/[name]-[hash].js',
assetFileNames: (assetInfo) => {
const info = assetInfo.name.split('.')
const ext = info[info.length - 1]
if (/\.(css|scss|sass|less)$/.test(assetInfo.name)) {
return 'css/[name]-[hash][extname]'
}
return `${ext}/[name]-[hash][extname]`
}
}
}
},
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "${path.resolve(__dirname, 'frontend/sass/variables.scss')}";`
},
less: {
javascriptEnabled: true
}
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'frontend/js'),
'@sass': path.resolve(__dirname, 'frontend/sass')
}
},
server: {
watch: {
usePolling: true
}
}
});

0 comments on commit 5cb7315

Please sign in to comment.