Skip to content

TarikSogukpinar/note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note App

This application is completely free. We encrypt your passwords and all of your notes. Our main purpose is provide a completely secure user experience

Installation

git clone https://github.com/TarikSogukpinar/note.git

Node JS

  cd note
  cd server
  npm install
  npm start 

React

  cd note
  cd client
  npm install
  npm start

Features

  • Login / Register
  • Create Note (end to end encryption)
  • Update Note (end to end encryption)
  • Delete Note
  • Delete Account
  • Docker Container

Roadmap

  • Forgot Password
  • Update Password and Email
  • Dark Mode
  • Language Support (TR - EN)
  • Swagger Documentation
  • Profile Picture
  • Date Time For Notes
  • Profile Dashboard
  • UI & UX Design

Authors

Feedback

If you have any feedback, please reach out to us at [email protected] & [email protected]

Screenshots

App Screenshot

App Screenshot

App Screenshot

App Screenshot

App Screenshot

App Screenshot

Db Screenshot

Db Screenshot

Usage/Examples

import CryptoJS from "crypto-js";

const AddNote = asyncHandler(async (req, res) => {
  const { title, content, category } = sanitize(req.body);

  const addNoteValidation = await noteValidationSchema.validateAsync(
    sanitize(req.body)
  );

  if (addNoteValidation) {
    const newNote = new Note({
      title: CryptoJS.AES.encrypt(
        title,
        process.env.CRYPTO_SECRET_KEY
      ).toString(),
      content: CryptoJS.AES.encrypt(
        content,
        process.env.CRYPTO_SECRET_KEY
      ).toString(),
      category: CryptoJS.AES.encrypt(
        category,
        process.env.CRYPTO_SECRET_KEY
      ).toString(),
      user_id: req.user.id
    });

    await newNote.save();

    res.status(201).json({ message: "Note created" });
  } else {
    return res.status(500).json({ message: error.message });
  }
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published