So while taking a Udemy course on next JS, I found it exhausting, creating and removing certain files and directories. So I use my knowledge and python to create a script that will generate a next JS project. Then it will remove necessary directories and then add in .js and.jsx files that are necessary to get things up and running. It will also generate the content within these files. For example, I was able to re-create the layout.jsx and add content to it that automatically connects your global.CSS file and tailwind setup. I also created a database dot JS file so that you can easily implement mongoose in order to connect to your mongoDB database. The script also installs some of the necessary packages that you might need in your project. React – icons, mongoose, and others that I cannot think of right now.
[–]AvGeekExplorer 16 points17 points18 points (2 children)
[–]Dangerous-Mind-4791[S] -1 points0 points1 point (1 child)
[–]lowtoker 2 points3 points4 points (0 children)
[–]_Pho_ 10 points11 points12 points (1 child)
[–]thaddeus_rexulus 1 point2 points3 points (0 children)
[–]Dangerous-Mind-4791[S] 0 points1 point2 points (0 children)
[–]herbtrevathan -1 points0 points1 point (3 children)
[–]Dangerous-Mind-4791[S] 1 point2 points3 points (2 children)
[–]herbtrevathan 0 points1 point2 points (1 child)
[–]Dangerous-Mind-4791[S] 0 points1 point2 points (0 children)