Skip to content

OpenTodo is a todo list application that allows you to create personal task lists and share them with other users. With features like login, register, and logout, all users can view the task lists created by anyone.

Notifications You must be signed in to change notification settings

triliun/OpenTodo

Repository files navigation

OpenTodo

OpenTodo is a todo list application that allows you to create personal task lists and share them with other users. With features like login, register, and logout, all users can view the task lists created by anyone.

Features

  • Login: Sign in using an already registered account.
  • Register: Sign up to create a new account.
  • Logout: Log out from the active account.
  • Task List: Create and view tasks that you have created or tasks created by others.

Technologies Used

  • Express.js: A framework for Node.js used to build the backend of the application.
  • PostgreSQL: A relational database management system used to store user data and task lists.
  • HTMX: A JavaScript library for building interactive web applications with minimal JavaScript code.

Demo

home todo content register login

Requirements

Before running this application, make sure you have installed:

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/triliun/OpenTodo.git
    cd OpenTodo
  2. Install the application dependencies:

    npm install
  3. Create a PostgreSQL database using the query.sql file.

  4. Adjust the configuration in the .env file:

     DB_USER=yourusername
     DB_HOST=localhost
     DB_NAME=OpenTodo
     DB_PASS=yourpass
     DB_PORT=5432
     PORT=3000
    
     JWT_SECRET=yoursecret
     NODE_ENV=development
  5. Run the application:

    npm start

The application will run at http://localhost:3000.

Usage

  1. Register a new account by clicking the plus button at the top right.
  2. Log in with an already registered account.
  3. After logging in, you can create your personal task lists, and the lists can be viewed by other users.
  4. Log out to exit the application.

Contributing

If you want to contribute to this project, feel free to open a pull request. Make sure to follow the suggested development guidelines.


Indonesia

OpenTodo adalah aplikasi todo list yang memungkinkan Anda membuat daftar tugas pribadi dan berbagi daftar tersebut dengan pengguna lain. Dengan fitur login, register, dan logout, semua pengguna dapat melihat daftar tugas yang dibuat oleh siapa saja.

Fitur

  • Login: Masuk menggunakan akun yang sudah terdaftar.
  • Register: Daftar untuk membuat akun baru.
  • Logout: Keluar dari akun yang sedang aktif.
  • Daftar Tugas: Buat dan lihat tugas yang Anda buat atau tugas orang lain.

Teknologi yang Digunakan

  • Express.js: Framework untuk Node.js yang digunakan untuk membangun backend aplikasi.
  • PostgreSQL: Sistem manajemen database relasional yang digunakan untuk menyimpan data pengguna dan daftar tugas.
  • HTMX: Library JavaScript untuk membangun aplikasi web interaktif dengan sedikit kode JavaScript.

Demo

home todo content register login

Persyaratan

Sebelum menjalankan aplikasi ini, pastikan Anda telah menginstal:

Instalasi

  1. Clone repositori ini ke mesin lokal Anda:

    git clone https://github.com/triliun/OpenTodo.git
    cd OpenTodo
  2. Install dependensi aplikasi:

    npm install
  3. Buat database PostgreSQL menggunakan file query.sql.

  4. Sesuaikan konfigurasi di file .env:

     DB_USER=yourusername
     DB_HOST=localhost
     DB_NAME=OpenTodo
     DB_PASS=yourpass
     DB_PORT=5432
     PORT=3000
    
     JWT_SECRET=yoursecret
     NODE_ENV=development
  5. Jalankan aplikasi:

    npm start

Aplikasi akan berjalan di http://localhost:3000.

Penggunaan

  1. Daftar akun baru dengan menekan tombol plus di atas kanan.
  2. Login dengan akun yang sudah terdaftar.
  3. Setelah login, Anda dapat membuat daftar tugas pribadi dan daftar tugas dapat di lihat pengguna lain.
  4. Logout untuk keluar dari aplikasi.

Kontribusi

Jika Anda ingin berkontribusi pada proyek ini, silakan buat pull request. Pastikan untuk mengikuti panduan pengembangan yang disarankan.

About

OpenTodo is a todo list application that allows you to create personal task lists and share them with other users. With features like login, register, and logout, all users can view the task lists created by anyone.

Topics

Resources

Stars

Watchers

Forks