tottys-project
v0.3.2
Published
An easy to start project based on Totty's architecture.
Downloads
21
Readme
What it is
Is a library to help you to create a base project with the best practices.
Libraries:
This is a module and not a boilerplate
Why using a module instead of a boilerplate?
You can just npm update
to get the new version. This should be used as an API instead. Using a boilerplate is just fragile and might be hard to migrate to a new version.
You just use this module like a normal library.
How to start
The first time you want to generate a new project you can actually use the generator.
Get environment
console.log(require('env'));
Will return "dev"
if in development environment or "prod"
if in production environment.