There is available basic ExpressJS server with sample API. It possible to launch it via
nodemon api/app.js command in the template root. It cointains all necessary endpoints to test the template.
Note! The API does not provide any database connections.
Blow are listed all available endpoints with descriptions.
# Environment Variables
The template includes
.env file which contain important environment variables. Most of platforms like ex. Vercel to configure those variables in the projects setttings.
API_URL - Base URL of API endpoints
MAP_API_KEY - GoogleMap API Key
PAYPAL_LIVE_MODE - Set to
true to run Live PayPal payments (
false will use the sandbox)
PAYPAL_CLIENT_ID_SANDBOX - PayPal Sandbox Client ID
PAYPAL_CLIENT_ID_LIVE - PayPal Live Client ID
DEMO_MODE - Set to
true to turn on demo mode (ex. adds theme customizer)
This directory contains un-compiled SCSS assets. Those are basic template styles and Bootstrap 4 overrides.
This directory contains all VueJS Components.
This directory applications layouts (more).
default.vue- Default application template
simple.vue- Simple application only with a route view
error.vue- Default error template
This directory contains your application middleware (more).
This directory contains application mixins (more).
This directory contains all application pages and routes (more).
This directory contains all static assets (more).
Stores and manages visual states of the template.
Stores basic settings of the template.
Stores all template settings.
Stores and manages menu itemsm, categories and offers.
Stores and manages cart and checkout state.