GithubHelp home page GithubHelp logo

vanillalibmanagement's Introduction

"# VanillaLibraryManagement" This is a fullstacklibrary management app with a vanilla frontend(no JS frameworks) with some bootstrap for tables and an Expressjs backend. For the database I've used PostgresDB so to run it well install postgres in your system.

Here is the schema for the postgres tables

Table person{ id integer [pk, increment] name string email string phone string gender string books_borrowed integer password string role string created_at datetime [default: now()] }

Table book{ id integer [pk, increment] genre string title string author string publisher string edition string ISBN string pages string borrowed_by integer [ref: > person.id] created_at datetime [default: now()] }

Table order{ id integer [pk, increment] book integer [ref: > book.id] person integer [ref: > person.id] date_returned datetime created_at datetime [default: now()] }

Remember to add a JSECRET= "< This is the JWT Token SECRET. Insert here anything >" and DB_PASSWORD="" in a .env file in the backend folder.

Also remember to run navigate to the backend folder and run npm install to install all the dependencies and then run npm start if you have nodemon to start up the server or just run the app.js file after you have done all the above

vanillalibmanagement's People

Contributors

benbellah-owino avatar

Watchers

 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.