Giter Club home page Giter Club logo

Comments (1)

jeff-knurek avatar jeff-knurek commented on September 25, 2024

general idea of DB structure in Mongoose:

DSL
	_id : ObjectId
	Name : string
	Version : string or number
	Type : enum or DSL_Type
	Status : enum or Status
	Description : string
	Categories: []Category
	DateCreated 
	DateUpdated 
​
​
Category
	_id : ObjectId
	CategoryRefID : string
	DSL._id : ObjectId
	NameShort : string
	Name : string
	Description : string
	IconID : string
	Tags : []string
	Order : number
	DataPoints : []DataPoint
	DateCreated 
	DateUpdated 
	
​
DataPoint
	_id : ObjectId
	DataPointRefID : string
	Category._id : ObjectId
	NameShort : string
	Name : string
	Description : string
	IconID : string
	Tags : []string
	Order : number
	DateCreated 
	DateUpdated 
​
​
DataSetEntry
	_id : ObjectId
	Funnel/Type/Source : enum or Funnel
	Status : enum or Status
	DSL._id : ObjectId
	Territory : Territory
	Answers : []Answer
	SourceUrl: string
	MediaName: string
	StatusTitle: string
	DateIssued: datetime
	Status: Status
	Editor: string or User
	Type: 
	DateCreated 
	DateUpdated 
​
Answer
	_id : ObjectId
	Value : string
	DateStart : 
	DateEnd : 
	Details : string
	DataPoint : DataPoint
	DataSetEntry : DataSetEntry
	DateCreated 
	DateUpdated 
​
​
Territory
	_id : ObjectId
	PLD_Code : string
	Name : string
	ISO2 : string
	ISO3 : string
	UN_Code : string
	NATO_Code : string
	Wikidate_ID : string
	Reseacher : string
	Encoder : string
	Editor : string
	Region : Region
	BoundryLevel : string
	SubTerritories : []Territory
	DateCreated 
	DateUpdated 
​
Region
	_id : ObjectId
	Name : string	
	Tld : string	
​
//-------------- Optional 
​
Funnel/Type/Source
	type: string
	???
	DateCreated 
	DateUpdated 
​
Status
	name: string
	???
​
DSL_Type
	type: string
	????

from projectlockdown.

Related Issues (20)

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.