/book-note

CRUD Project to exercise integrating Postgres + NodeJs + Express.

Primary LanguageJavaScript


Logo

Book Note

CRUD Project to exercise integrating Postgres + NodeJs + Express.

About This Project

In this project, you can add a book you've read informing your rating, as well read date. You can also add notes about your lecture with this book, editing it or deleting entries as well.

Sorting is available based on rating, name and read date.

What I've Learned

Besides using PostgreSQL for persistent storage, I've used environment variables to hide sensitive information to be uploaded on Github.

Built With, as well as "Prerequisites"

(back to top)

Getting Started

Installation

  1. Clone the repo
    git clone https://github.com/your_username_/Project-Name.git
  2. Install NPM packages
    npm install
  3. Set up your environment variables for postgresql user, host, database and password as it shows in database config
    touch .env 
  4. Start
    node index.js (or npm run dev if you have nodemon) 

(back to top)