Skip to content

dbarroso1/Node-Angular-4---Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zinc Platform

Built on Node, Running on Express and Angular 4. a Fully featured Content Managmnt system, for casual and enterprise use.

On this page

  1. Features
  2. Installing
  3. Known Issues
  4. See also
  1. Clone from Github
    • git clone https://github.com/dbarroso1/Zinc.git && cd Zinc/
  2. Install Packages
    • npm install

Made with this Generations most powerful frameworks

Database Framework Front Runtime API
MongoDB Express Angular 4 NodeJS 8.4 Mongoose

Application Features

  • Terminal Error Handling
  • Live Request/Response Logging
  • MongoDB / Mongoose API

Directory Hierarchy

Simple to Configure and Manage, with simplified directories for easy debugging

bootstrap/
 ├── bin/
 │   ├── models/
 │   ├── zinc.config.js          // Application Configuration variables
 │   ├── zinc.logger.js          // Server Log Manager
 │   └── zinc.webapi.js          // Web API Manifest
 ├── public/ 
 │   └── index.html              // Angular 4 Front End
 ├── package.json
 └── zinc.server.js              // Zinc Server Engine

[ISSUE 1 - FIXED] Catch(...).then of undefned, check Mongoose version, Catch() and Then()

Solution:
Catch() and Then() are only available ~4.0.0+ 
npm install express-4.x.x+

[ISSUE 2 - FIXED] DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead

Solution:
const server = express();
. . . 
. . . 
mongoose.connect('mongodb://localhost/advisorDemoTestDB', { useMongoClient: true }) // <=== HERE
  .then(() => require('./db-init')(server))
  .catch(err => console.error(err));

External resources

Releases

No releases published

Packages

No packages published