You can view the live version of the SnapTable project here:
https://sakib963.github.io/snap-table/
Welcome to SnapTable, a simple and powerful web app that allows you to easily upload CSV files, select the columns you want to view, and see the data presented in a dynamic, customizable table format. No server required—just pure frontend magic with Angular! 🚀
- ✨ Features
- 💡 How It Works
- 🎥 Demo
- ⚡️ Installation
- 🖱 Usage
- 🤝 Contributing
- 🙏 Acknowledgments
- 🚀 Get Involved
- Easy CSV Upload: Upload your CSV file with just a click!
- Column Selection: Choose which columns to display in the table.
- Dynamic Table: View your CSV data in a clean, responsive table format.
- Serverless: No need for a backend—purely frontend powered by Angular.
- Interactive: Reorder columns, and refresh the table without page reloads.
- Upload CSV: Select your CSV file by clicking the "Upload CSV" button.
- Column Selection: Choose the columns you want to display from the uploaded file.
- Generate Table: Hit "Generate Table" and watch as your CSV data is transformed into a neat table.
- Rearrange Columns: You can rearrange the columns to suit your preferences. Just drag and drop!
- Go Back: You can always go back to modify your column selection or upload a new file.
Check out the app in action! Here’s how SnapTable can turn your boring CSV data into an interactive table:
To get started with SnapTable, follow these steps:
git clone https://github.com/yourusername/snap-table.git
cd snap-table
npm install
After the dependencies are installed, you can start the app using:
ng serve
Visit http://localhost:4200 to see the app in action.
To configure environment variables, you need to create the environment.ts
and environment.prod.ts
files in the src/environments
directory based on the environment.example.ts
file.
cp src/environments/environment.example.ts src/environments/environment.ts
cp src/environments/environment.prod.example.ts src/environments/environment.prod.ts
This way, you keep your sensitive data or environment-specific configurations out of the repository while providing a template for other developers to work with.
Once the app is running:
- Click on Upload CSV to select your CSV file. 📂
- Select the columns you wish to display in the table. ✅
- Hit Generate Table to see the results. 📊
- Optionally, you can reorder the columns using the up/down buttons. 🔄
- Want to try again? Go back and upload a new file or adjust your column selections. 🔙
We welcome contributions to make SnapTable even better! 🎉 Here's how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name
). - Make your changes and commit (
git commit -am 'Add new feature'
). - Push your changes (
git push origin feature-name
). - Open a pull request to the main branch.
Feel free to open an issue if you encounter any bugs or have suggestions! 🐛
- Built with ❤️ using Angular and TailwindCSS.
- Special thanks to OpenAI for AI assistance in development! 🤖✨
Feel free to contribute, share, or just enjoy SnapTable! 🌟