Upplication Dashboard for templaters
- Create a templater profile
- Upload templates
- Control design rules
- Track the template versions
- Add notes and comments
We have two projects:
Inside the folder app we have the frontend application.
First, you must install the dependencies
npm install
and install the web dependencies
bower install
Now, your workspace is ready. You can run the server with the command:
gulp server
To access the local server, enter the following URL into your web browser: htp://localhost:8080/
If you want to use different config to test against others endpoints or a different database you can set:
# to use the config-test.json vars
NODE_ENV=test
# to use the config-development.json vars
NODE_ENV=development
# to use the config-production.json vars
NODE_ENV=production
You can add more environments creating a new config-xxxx.json and setting the NODE_ENV=xxxx
To execute all unit and end-to-end (e2e) tests, use:
gulp tests
Inside the api folder we have the rest api backend
First, you must install the dependencies
npm install
Now, your workspace is ready. You can run the tests with:
npm test
If you want to start the server you must run the follwing command:
node app.js
To access the local server, enter the following URL into your web browser: htp://localhost:3000/
If you want to use different config to test against others endpoints or a different database you can set:
# to use test vars
NODE_ENV=test
# to use the development vars
NODE_ENV=development
# to use the roduction vars
NODE_ENV=production