- Node - v14+
- NPM - v6+
Get started by installing Redis on your machine.
Once that's done, clone this project into your local computer:
git clone https://github.com/eludadev/redis-todos.git
After that, rename the .env.sample
file to .env
, and type-in your Redis credentials:
mv .env.sample .env
Next, go to the project's root directory and run the following commands:
npm install
npm run dev
If all goes well, navigate your preferred browser to the http://localhost:3000
URL. Test the app out:
- Create new todos using the input bar on top.
- Complete todos by tapping anywhere on their area.
- Update and delete todos using their respective buttons.
Furthermore, this app handles loading and error states for each action.