-
Hi, I am a frontend react nextjs developer starting with fullstack blockchain development. I am building a Dapp, can someone help me with the project directory structure, where to initalise foundry and nextjs project, and which are the best practices to keep in mind? If there is some tutorial which I can refer to will also be helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Been long since I do anything front-end but I trust people that know will answer to this as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
@jayantna It really depends on your preferences. Check out scaffold-ETH 2 to get inspired, when you create the app it put everything in the packages folder where you can find a folder named nextjs with all the frontend stuff and one called foundry with all the foundry ('backend') stuff. I will defenitely keep nextjs project separate from foundry stuff . You can also have a look at this little project I've made if you wish. I just divided it in frontend and backend, with all the git stuff in the root. |
Beta Was this translation helpful? Give feedback.
@jayantna It really depends on your preferences. Check out scaffold-ETH 2 to get inspired, when you create the app it put everything in the packages folder where you can find a folder named nextjs with all the frontend stuff and one called foundry with all the foundry ('backend') stuff. I will defenitely keep nextjs project separate from foundry stuff . You can also have a look at this little project I've made if you wish. I just divided it in frontend and backend, with all the git stuff in the root.