talisma-cassoma / Notepad-with-nodeJs

a simple a notepad, blocnote

Repository from Github https://github.comtalisma-cassoma/Notepad-with-nodeJsRepository from Github https://github.comtalisma-cassoma/Notepad-with-nodeJs

Gitpod ready-to-code

Notepad web app with node

This is a free tool for quick backup of text notes.the notes are stored securely in your browser.

credits for Ariuka from dribble for UI design

Frontend

App

App functions

the button changes depending on the mode if we just see the notes it stays like this:

delete Note

but if you edit the note it changes like that

save changes

Backend

you can run this projet by running thoses commands:

npm install

npm run dev

if wanna use a mySQL database -> create js file and run this code on node:

cont db =require("./module/db") //<-- db.js directory 
const Post = db.sequelize.define('postagens', {
    titulo: {
        type: db.Sequelize.STRING(50)
    },
    conteudo:{
        type: db.Sequelize.TEXT
    }
})

Post.sync({force: true});//para forçar a criar ...

db.sequelize.authenticate().then(function(){
    console.log('conectado ao banco de dados')
}).catch(function(erro){
    console.log('erro de coneccao'+ erro)
})

requirements:

  • [] it should be possible to create a note
  • [] it should be possible to modify: -[] the title of the note -[] the body of the note
  • [] it should be possible to delete a note
  • [] search note:
    • [] by date
    • [] by world

rules:

it should not be possible to:

  • [] change more than one note at time

About

a simple a notepad, blocnote

License:MIT License


Languages

Language:JavaScript 53.2%Language:CSS 33.3%Language:Handlebars 13.5%