Coder Social home page Coder Social logo

user-and-enterprise-app-demo's Introduction

System to manage enterprises and users.

application is written in node.js and react

Important

Details

  • users, enterprices, relations table.
  • Users can belong to multiple enterprises.
  • User has the following attributes: Email, First Name, Last Name, Phone Number.
  • Enterprise has the following attributes: Name, Tax ID, Address.

Important

how the tables are connected and briefly explain how it should work?

  • The enterprise_id column references the id column in the enterprises table, establishing a link to a specific enterprise.
  • The user_id column references the id column in the users table, establishing a link to a specific user.
  • The combination of user_id and enterprise_id in the user_enterprise_relations table serves as the primary key, ensuring that each user-enterprise relationship is unique.

Both tables are connected through the user_enterprise_relations table. Schema allows for the management of users and enterprises, with the ability to establish relationships between them. Each user can be associated with one or more enterprises, and each enterprise can have multiple users associated with it. The user_enterprise_relations table facilitates this many-to-many relationship between users and enterprises.

How to run

user-and-enterprise-app-demo's People

Contributors

adagora 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.