Coder Social home page Coder Social logo

bookdb's Introduction

Mylibrary

App allow to user to create his own library, by adding books that have been read to their own list.

User journey :

  • As a user I want to create account to create own library.
  • As a user I want to login to my account .
  • As a user I want to add book to my list .
  • As a user I want to search form my library books.
  • As a user I want to logout from my account .

Website Link:[My Library]

Architecture :

  • App Architecture
  • file Structure
    • public
      • index.html
      • style.css
      • assets folder for images
    • src -srever
      • server.js
      • router.js
      • handler.js
      • homeHandler.js
      • loginHandler.js
      • signupHandler.js
      • addbookHandler.js
    • tests
      • test.js
    • database
      • db_build.sql
      • db_connection.js
      • db_build.js
    • queries
      • getData.js
      • setData.js
      • check.js
    • package.json

How to run our site on your machine?

  • git clone this repo (https://github.com/FACK1/Mylibrary.git)
  • Open your command line.
  • Put in terminal : npm install .
  • create database **CREATE DATABASE ; **
  • create uesrname and password CREATE USER ;
  • grant prinileges GRANT ALL PRIVILEGES ON DATABASE TO ;
  • make config.env file and put DATABASE_URL= postgres://uesrname:password@localhost:5432/dbname
  • Put in terminal : node database/db_build.js.
  • Then put in terminal : npm run dev to run the server.
  • Open your browser and put in terminal: localhost:3000.

Test coverage

CI Test

Team_Member:

  • Hadeel Slamin
  • Aman Shawar
  • Sama' Amro

bookdb's People

Contributors

samaamro20 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.