Skip to content

fack2/noteApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes App

The app is an a simple small notepad allowing creating and editing text notes, which they categorized as a group of categories.

user journey

  • As a user i can write my notes, edit any notes and delete notes.
  • As a user i can pinned notes which is important for me to be in top.

Database schema

NotsDB

How to Use our website !!

In terminal

  • Clone these repo:
    git clone https://github.com/fack2/noteApp.git
    cd noteApp
  • Install node modules:
       npm i
       cd client 
       npm i 
       cd ..
       
    
  • Create database locally.
  • Create config.env file in root and put these variables in it:
 DATABASE_URL = postgress://{username}:{password}@localhost:5432/{databasename}
   SECRET = {secret}
  • build database table :
   node ./server/database/db_bulid.js

  • if you want initial values for database:
  psql 
    \c {databasename} 
    \i ./server/database/init_values.sql
  • Run this to start the website: ...

Team member