Skip to content

topsecretagent007/pumpfun-smart-contract-frontend-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 LB PUMP

Screenshot_44

LB PUMP is a dynamic platform inspired by pump.fun. This site serves as an interactive space to inform users about the project, with user-friendly features that enable customization and updates. The platform is powered by modern technologies in both frontend, backend, and smart contract development.


🌐 Live Demo

If a live demo URL is available, you can place it here.
Screenshot_44 Screenshot_46 Screenshot_47 Screenshot_48

📖 Table of Contents


💡 About the Project

LB PUMP is a feature-rich platform inspired by pump.fun. This site informs users about the project and allows users to modify content as needed. It includes a fully functional frontend, backend, and smart contract system, all of which are continuously updated to ensure an optimized user experience.


🛠️ Tech Stack

Frontend

  • 🌐 Next.js (React-based framework for SSR and SSG)
  • 🔥 TypeScript (Static typing for JavaScript)
  • 🎨 Tailwind CSS (Utility-first CSS framework)

Backend

  • ⚙️ Node.js (Runtime environment)
  • 🗄️ MongoDB (NoSQL database for efficient storage)

Smart Contract

  • 🚀 Rust (For high-performance, secure, and safe smart contracts)

Features

  • 📢 Informative Site: Introduces and informs users about the project.
  • ✍️ Customizable Content: Users can update the content as needed.
  • 💻 Full Stack Application: Built with Next.js, Node.js, and MongoDB.
  • 🔐 Smart Contract Integration: Secure on-chain logic powered by Rust.
  • 🚀 Easy Start: Simple commands to launch the app.
  • 🧪 Test Database: Comes with a test database for development and testing.

🚀 Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

Make sure you have the following installed:

  • Node.js (v14 or higher)
  • Yarn (for package management)
  • MongoDB (for database)

🔧 Installation

  1. Clone the Repository

    git clone https://github.com/your-username/lb-pump.git
  2. Navigate to the Project Directory

    cd lb-pump
  3. Install Dependencies

    yarn install
  4. Set Up Environment Variables
    Create a .env file in the root directory and configure the following:

      MONGO_URI=<your-mongodb-connection-string>
      NODE_ENV=development
  5. Start the Database
    Ensure MongoDB is running on your local machine or via a cloud service like MongoDB Atlas.


⚙️ Usage

To run the frontend and backend, follow these steps:

Start the Frontend

yarn dev

Runs the development server. Open http://localhost:3000 to view it in the browser.

Start the Backend

yarn start

Starts the backend server. Ensure MongoDB is connected properly.

You can now access the project from http://localhost:3000.


📁 File Structure

Here's a quick look at the project's main folder structure:

lb-pump/  
├── 📂 frontend/  
│   ├── 📂 components/        # Reusable UI components  
│   ├── 📂 pages/             # Next.js pages  
│   ├── 📂 styles/            # Tailwind CSS styles  
│   └── 📄 tsconfig.json      # TypeScript configuration  
├── 📂 backend/  
│   ├── 📂 controllers/       # Backend API controllers  
│   ├── 📂 models/            # Mongoose models  
│   ├── 📂 routes/            # API routes  
│   └── 📄 server.js          # Express server file  
├── 📂 smart-contract/        # Rust-based smart contract  
├── 📄 package.json           # Project dependencies  
├── 📄 .env                   # Environment variables (not committed)  
└── 📄 README.md              # Project documentation  


⚠️ Important Notes

  • Database: This project uses a test database by default. You can change or modify the database connection string in the .env file.
  • Customization: All basic content can be updated, and users have control over the displayed information.
  • Deployment: When deploying, ensure to use production database credentials and secure environment variables.

📞 Contact

Need help, have questions, or want to collaborate? Reach out!

If you find this project useful, feel free to give it a ⭐ on GitHub.