Yet another todo list project made with React.
This project uses:
- Vite to quickly setup a fast development environment
- React for interactive UI
- Bootstrap (and Bootstrap Icons) for uniform, responsive styling
- Dexie as a minimalistic wrapper for IndexedDB
- Typescript as a (subjectively better) superset of Javascript
After cloning this repo, run:
npm install
to install all dependencies of the project.
- For developing or testing, run:
npm run dev
to enable hot reload.
- When it's time to build, run:
npm run build
Vite will automatically build and output to dist/ directory. If you want to change the output directory or any build configuration in general, consult Vite config page.
You can use
npm run preview
to preview the built project or (since this is basically a static site) any http server to serve the index.html file in the dist/ directory.
For example, python http.server module:
python -m http.server 8000 --directory dist
to serve the page at localhost, port 8000
