Skip to content

This is a demo repository which shows how to define mongoose schema at run time.

Notifications You must be signed in to change notification settings

AmitThakkar/Dynamic-Mongoose-Schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api Server

To run this code please follow below steps:

  1. Go to your local project directory via terminal.
  2. Run git clone [email protected]:wizspark/Api-Server.git.
  3. Install Latest NodeJS version.

    We are using ECMA6 fetures which are available into NodeJS 4+ version. I will prefer to use NVM for working into multiple NodeJS versions.

  4. Go to project directory with command cd Api-Server.
  5. Install all NodeJS/backend dependencies with command npm i.
  6. Install Bower globally with command npm i -g bower.
  7. Install all frontend dependencies with command bower install.
  8. Run node app command.
  9. Open http://localhost:8080/ URL into your favorite browser.

To access any common module global.apiServer.modules.test To access any schema global.getSchema()

About

This is a demo repository which shows how to define mongoose schema at run time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published