A lightweight pastebin-style frontend built with React, Vite, Tailwind CSS and Redux Toolkit. Use this project to create, view, and manage simple text "pastes" locally in the browser.
- Create and view pastes using the UI components in
src/components - Global state management with Redux Toolkit (
redux/pasteSlice.js) - Tailwind CSS for styling
- Fast development with Vite and HMR
- React + Vite
- Tailwind CSS
- Redux Toolkit
- Install dependencies
npm install- Start the development server
npm run devOpen http://localhost:5173/ in your browser.
The app is deployed on Vercel: https://notes-saver-app-seven.vercel.app/
- Build for production
npm run build- Preview the production build
npm run preview- src/main.jsx – App entry
- src/App.jsx – Top-level component
- src/components – React components (
Home.jsx,Navbar.jsx,Pastes.jsx,Viewpastes.jsx) - redux/store.js – Redux store setup
- redux/pasteSlice.js – Paste state and reducers
- src/assets – Static assets
- Create a new paste from the Home page form.
- Browse existing pastes in the Pastes view and open them with Viewpastes.
- If you see dependency warnings after
npm install, runnpm auditandnpm audit fixto apply fixes where safe. - If the dev server doesn't start, ensure no other process is using port 5173, or run
npm run dev -- --port 5174to change the port.
Contributions and improvements are welcome. Open an issue or submit a PR.
MIT