Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.33 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.33 KB

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