A simple note-taking application built with Flutter, Node.js, and MySQL.
backend/- Node.js server codefrontend/- Flutter application code
The application uses MySQL with the following schema:
CREATE TABLE notes (
id INT PRIMARY KEY AUTO_INCREMENT,
title VARCHAR(255) NOT NULL,
content TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);id: Unique identifier for each note (auto-incrementing)title: Note title (required, max 255 characters)content: Note content (optional, can store large text)created_at: Timestamp of note creation (automatically set)
- Install Node.js dependencies:
cd backend
npm install- Set up MySQL database:
- Create a database named
notes_db - Update the database configuration in
backend/config/db.config.js
- Start the server:
npm start- Make sure you have Flutter installed
- Install dependencies:
cd frontend
flutter pub get- Run the app:
flutter run- Create new notes
- View all notes (shared notes)
- Update existing notes
- Delete notes