Built on Node, Running on Express and Angular 4. a Fully featured Content Managmnt system, for casual and enterprise use.
- Clone from Github
git clone https://github.com/dbarroso1/Zinc.git && cd Zinc/
- Install Packages
npm install
Made with this Generations most powerful frameworks
Database | Framework | Front | Runtime | API |
---|---|---|---|---|
MongoDB | Express | Angular 4 | NodeJS 8.4 | Mongoose |
- Terminal Error Handling
- Live Request/Response Logging
- MongoDB / Mongoose API
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()
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
const server = express();
. . .
. . .
mongoose.connect('mongodb://localhost/advisorDemoTestDB', { useMongoClient: true }) // <=== HERE
.then(() => require('./db-init')(server))
.catch(err => console.error(err));
External resources