This project was generated with Angular CLI version 16.2.0.
This is a simple app to demonstrate initializing a DuckDB worker and loading the Shell.
git clone https://github.com/rwreplog/angular-duckdb-startup.git
cd angular-duckdb-startup
npm i
npm start
Navigate to http://localhost:4200/
Ensure Node is installed
nvm install --lts
npx -p @angular/cli@16 ng new [YourAppName]
npm install @duckdb/duckdb-wasm
npm install @duckdb/duckdb-wasm-shell
npm install @types/emscripten
ng g s services/duck-db
This is important otherwise your shell's display will be incorrect
@import '~xterm/css/xterm.css';
html,
body {
height: 100%;
}
body {
margin: 0;
}