Skip to content

Clawwo/TodoApp-Flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

TodoList-Flutter

Description

A mobile TodoList application built with Flutter and MongoDB as the backend database. This app allows users to:

  • Account Management: Register and log in with secure authentication
  • Task Management: Create, read, update, and delete personal tasks
  • User Profile: View and update personal profile information

Application Pages

  • Login Page – User login screen
  • Register Page – User registration screen
  • Home Page – Displays all user tasks
  • Add Task Page – Form to add a new task
  • Edit Task Page – Form to edit an existing task
  • Profile Page – User information and settings

Database

MongoDB Atlas is used as the cloud-based database to store user and task data.

Collections:

  • users – Stores user data (email, hashed password, username)
  • tasks – Stores task data (title, description, status, date, etc.)

API

The application communicates with MongoDB using a RESTful API built with Node.js and Express.js.

Key Endpoints:

  • POST /api/auth/register – Register a new user
  • POST /api/auth/login – User login
  • GET /api/tasks – Get all tasks
  • POST /api/tasks – Create a new task
  • PUT /api/tasks/:id – Update an existing task
  • DELETE /api/tasks/:id – Delete a task
  • GET /api/profile – Get user profile
  • PUT /api/profile – Update user profile

Technologies Used

Frontend:

  • Flutter SDK
  • Dart programming language
  • Provider (for state management)

Backend:

  • Node.js
  • Express.js
  • MongoDB Driver
  • JWT (JSON Web Tokens for authentication)

Development Tools:

  • Visual Studio Code
  • MongoDB Compass
  • Postman (for API testing)

Installation

1. Clone the Repository

 git clone https://github.com/Clawwo/TodoApp-Flutter.git
 cd todoapp

2. Instal dependencies Flutter

 flutter pub get

3. Setup environment variables

Create a .env file in the root directory based on .env.example.

Run the Flutter App:

 flutter run

Usage Instructions

1.Make sure the backend server is running.

2.Run the Flutter app on an emulator or physical device.

3.Register a new account on the Register Page, or log in using your existing credentials.

4.Add, edit, or delete tasks from the Home Page.

5.Access and update user profile data from the Profile Page.

Demo TodoList App

demo.mp4

Developer Identity

About

Project mobile TodoList app built with Flutter, using a Node.js + Express backend and MongoDB Atlas for cloud data storage. Features include task management, user authentication, and profile handling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors