Welcome to the Jupiter Swap Frontend project! This repository contains the frontend code for a modern web application built with Nuxt 3, Solana, Pinia, and custom styling using Sass/SCSS. This project is designed to provide a clean and efficient interface for interacting with the Solana blockchain.
We created a tutorial to help you get started with this project. Follow the steps in the tutorial to set up the frontend and backend, and start building your decentralized application.
- Frontend Tutorial: Jupiter Swap Frontend Tutorial
- Backend Tutorial: Jupiter Swap Backend Tutorial
This project is the frontend part of a decentralized application that connects with the Solana blockchain. Built with Nuxt 3, it leverages the power of Vue.js and Pinia for state management, offering a responsive and dynamic user experience.
- Nuxt 3 Integration: Built with Nuxt 3 for a modern and streamlined development experience.
- Solana Blockchain: Seamlessly interacts with Solana, leveraging its capabilities for decentralized applications.
- Pinia State Management: Efficient state management with Pinia, perfectly suited for Vue.js.
- Custom Styling: Styled using Sass/SCSS for maintainable and scalable design.
- Clear Separation: Separate repositories for frontend and backend to keep the codebase clean and modular.
Follow these steps to set up the project locally:
-
Clone the repository:
git clone https://github.com/yourusername/jupiter-swap-frontend.git cd jupiter-swap-frontend -
Install dependencies:
yarn install
-
Run the development server:
yarn dev
-
Build for production:
yarn build
To start developing, clone the repository, install the dependencies, and run the development server. You’ll be able to see your changes live on localhost:3000.
The only variable you need to set is the SOLANA_RPC_URL in the .env file.
Since we are swapping real tokens we recommend using the mainnet cluster for the RPC URL.
The project is organized as follows:
jupiter-swap-frontend/
│
├── assets/
│ └── styles/
│ ├── globals.sass
│ ├── main.scss
│ ├── plugins.sass
│ └── variables.sass
│
├── components/
│ ├── Plattform/
│ │ ├── AppBar.vue
│ │ └── Footer.vue
│ └── Solana/
│ └── WalletConnect.vue
│
├── composables/
│ └── usePrettyToast.js
│
├── layouts/
│ └── default.vue
│
├── pages/
│ └── index.vue
│
├── stores/
│ └── solanaStore.js
│
├── nuxt.config.ts
├── app.vue
└── package.json
We are Quantum Coders, the team behind this project. We are passionate about blockchain technology and its potential to revolutionize the world. Join us on our journey to build innovative solutions and contribute to the decentralized future.
Connect with us:
- Quantum Coders on X: @qcodersteam
- LunaAI on X: @lunadefiai
- Bonkhemist on X: @bonkhemist
- _0xJesus on X: @_0xjesus
We welcome contributions! If you’d like to contribute, fork the repository, create a feature branch, and submit a pull request. We look forward to collaborating with you.
This project is licensed under the MIT License. See the LICENSE file for more details.