This is a small project that reads Excel files from the sourcefiles
directory, converts them to JSON and SQL, and writes the output to the export
directory.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To install the project dependencies, run:
bun install
To run the application:
bun run index.ts
This will read all .xlsx
files in the sourcefiles
directory, convert each file to JSON and SQL, and write the output to the export
directory.
You can also run the application using Docker. Build the Docker image with:
docker build -t ehhweisnet .
Then run the Docker container with:
docker run -p 3000:3000 ehhweisnet
- Bun - The JavaScript runtime used
- xlsx - Node.js library for parsing and writing Excel files
- knex - A SQL query builder
This project is licensed under the MIT License - see the LICENSE.md file for details