General contribution guidelines can be found on the Contributing page. There can be a package-specific contribution guides, please make sure you read them before you open a PR.
Reach out to us at one of the following places!
- Website at
injective.com
- Twitter at
@Injective
- Discord at
Discord
- Telegram at
Telegram
This is a template project that demonstrates how to build a Vue.js application with Injective Protocol integration using Turnkey for wallet management. The project consists of a frontend Vue application and a backend server.
.
├── app/ # Frontend Vue application
│ ├── src/ # Source code
│ │ ├── components/ # Vue components
│ │ ├── assets/ # Static assets
│ │ └── ... # Other source files
│ └── ... # Configuration files
└── server/ # Backend server
└── src/ # Source code
└── lib/ # Server utilities
- Vue 3 frontend with TypeScript support
- Injective Protocol integration
- Turnkey wallet management
- Secure backend server with Hono framework
- TypeScript support throughout the stack
- Node.js (v18 or higher)
- Yarn package manager
- Basic understanding of Vue.js and TypeScript
- Install dependencies and start both frontend and backend servers:
yarn install yarn dev
-
Navigate to the app directory:
cd app
-
Install dependencies:
yarn install
-
Start the development server:
yarn dev
-
Navigate to the server directory:
cd server
-
Install dependencies:
yarn install
-
Start the development server:
yarn dev
yarn dev
- Start both frontend and backend servers concurrentlyyarn dev:app
- Start only the frontend serveryarn dev:server
- Start only the backend server
- Vue 3
- Injective Protocol SDK
- Turnkey Wallet Integration
- Vite for build tooling
- Hono framework
- Turnkey SDK
- JWT for authentication
- Zod for validation
- The frontend runs on
http://localhost:5173
by default - The backend server runs on
http://localhost:3000
by default
cd app
yarn build
The built files will be in the dist
directory.
- The application uses Turnkey for secure wallet management
- JWT is used for authentication
- Environment variables should be properly configured for production
Please follow the standard Git workflow:
- Create a feature branch
- Make your changes
- Submit a pull request
Copyright © 2021 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
Originally released by Injective Labs Inc. under:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/