Coder Social home page Coder Social logo

thuglabs / create-dapp-solana-nextjs Goto Github PK

View Code? Open in Web Editor NEW
354.0 6.0 177.0 2.82 MB

Scaffolding for a Solana dapp using TS, Next.JS, Tailwinds CSS, and Daisy UI

Home Page: https://create-dapp-solana-nextjs.vercel.app

License: MIT License

JavaScript 7.82% TypeScript 91.30% CSS 0.87%
solana blockchain dapps boilerplate

create-dapp-solana-nextjs's Issues

Run prebuild on git push

In case of failed build vercel will fail to update env with committed code.
As a solution husky can be installed. So on each push husky will try build code to check if it successful .

Alternatively, it can be done with GitHub actions on PR opened / updated.

Add templates

One of templates can be imported to the project is Candy Machine Mint site by levicook.
https://github.com/exiled-apes/candy-machine-mint

The only important thing to change is to move env variables to the config file, since of Next.JS SSR nature it might be easy to use config this way

  • NFT Gallery
  • Candy Machine

Candy Machine v2

Hello! Are there any contingencies for the mint page using candy machine v2? The major difference that I can see between v1 and v2 is that v2 no longer has both a candy machine config id and an actual candy machine id, but I don't know how to implement this page in the mint site. Any help would be appreciated - thank you!

network error gallery

When I uploaded this to vercel and went to gallery, it could not load the NFTs and was giving a network error.

Need to overwrite Output Directory to deploy on Vercel

When I forked and tried to deploy without making any changes, I got the following error

Error: The file "/vercel/path0/.next/routes-manifest.json" couldn't be found. This is normally caused by a misconfiguration in your project.

Please check the following, and reach out to support if you cannot resolve the problem:

1. If present, be sure your `build` script in "package.json" calls `next build`.  
2. Navigate to your project's settings in the Vercel dashboard, and verify that the "Build Command" is not overridden, or that it calls `next build`.  
3. Navigate to your project's settings in the Vercel dashboard, and verify that the "Output Directory" is not overridden. Note that `next export` does **not** require you change this setting, even if you customize the `next export` output directory. Learn More: https://err.sh/vercel/vercel/now-next-routes-manifest</span>

I had to change the "Output Directory" to "build" in project settings on Vercel dashboard to deploy it successfully. I'm not familiar with next.js ecosystem but I realized this is defined in next.config.js.

If this is something non-standard, can we add this bit to the readme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.