Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marwan37/wudo
https://github.com/marwan37/wudo
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marwan37/wudo
- Owner: marwan37
- Created: 2022-07-22T14:56:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T02:51:29.000Z (over 1 year ago)
- Last Synced: 2024-11-06T17:54:47.906Z (3 months ago)
- Language: Ruby
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WuDo
WuDo is a web-based Ruby application built with Sinatra, utilizing erubis for templating and pg for PostgreSQL database interactions. It provides a user-friendly interface to manage daily tasks and organize them into lists.
## Features
- **Create and Manage Lists**: Easily create, edit, and delete todo lists.
- **Add and Edit tasks**: Add individual tasks to your lists and mark them as complete when done.
- **Session Persistence**: Your lists and tasks are saved across sessions.### Prerequisites
- Ruby 3.1.2
- PostgreSQL + pg
- Sinatra 1.4.7
- erubis
### Installation1. Clone the repository:
```bash
git clone https://github.com/marwan37/todos.git
```2. Navigate to the project directory:
```bash
cd todos
```3. Install the required gems:
```bash
bundle install
```4. Set up the database (ensure PostgreSQL is running):
```bash
createdb todos
```5. Start the server:
```bash
rackup
```6. Open your browser and navigate to `http://localhost:9292`.
## Usage
- **Home Page**: View all your lists.
- **Create List**: Click the "New List" button to create a new list.
- **Edit List**: Click the "Edit" button next to a list to rename or delete it.
- **Add Todo**: Click the "Add Todo" button inside a list to add a new task.
- **Edit Todo**: Click the "Edit" button next to a todo to edit or delete it.