Template for fully integrated typescript node, express and vue3 project.
Copy the .env.example
File and rename it to .env
Change the Configuration according to your needs.
# ---------------------------------------------------------
# Logging level
# ---------------------------------------------------------
DEBUG=false
# ---------------------------------------------------------
# Server & Vue API connection configuration
# ---------------------------------------------------------
HOST=localhost
PORT=3000
# ---------------------------------------------------------
# Database connection
# ---------------------------------------------------------
DATABASE_HOST=localhost
DATABASE_NAME=name
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
# ---------------------------------------------------------
# Or as an alternative the complete connection url.
# Remove it if no URL available.
# ---------------------------------------------------------
DATABASE_URL=postgres://postgres:postgres@localhost:5432/name
Run the command:
yarn install
yarn serve
yarn build
yarn test:unit
yarn lint
yarn start