Implements a fully-featured action requests table in a single LiveView module using Flop, Ecto, and SQLite. Includes: - Fuzzy search, status/assignment filters, column sorting, 25-per-page pagination - Real-time updates, bookmarkable URLs via `handle_params/3` - JS-disabled fallback with GET forms (no duplicate logic) - 1,000,000 seeded records, Tailwind + DaisyUI styling, light/dark themes - Comprehensive README with comparisons to Django+React/Rails+React stacks - 31 tests covering all scenarios Tech: Phoenix 1.8+, LiveView, Flop, Ecto, SQLite, Elixir 1.15+
33 lines
980 B
JSON
33 lines
980 B
JSON
// This file is needed on most editors to enable the intelligent autocompletion
|
|
// of LiveView's JavaScript API methods. You can safely delete it if you don't need it.
|
|
//
|
|
// Note: This file assumes a basic esbuild setup without node_modules.
|
|
// We include a generic paths alias to deps to mimic how esbuild resolves
|
|
// the Phoenix and LiveView JavaScript assets.
|
|
// If you have a package.json in your project, you should remove the
|
|
// paths configuration and instead add the phoenix dependencies to the
|
|
// dependencies section of your package.json:
|
|
//
|
|
// {
|
|
// ...
|
|
// "dependencies": {
|
|
// ...,
|
|
// "phoenix": "../deps/phoenix",
|
|
// "phoenix_html": "../deps/phoenix_html",
|
|
// "phoenix_live_view": "../deps/phoenix_live_view"
|
|
// }
|
|
// }
|
|
//
|
|
// Feel free to adjust this configuration however you need.
|
|
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"*": ["../deps/*"]
|
|
},
|
|
"allowJs": true,
|
|
"noEmit": true
|
|
},
|
|
"include": ["js/**/*"]
|
|
}
|