trouble setting up database with getting started nextjs
Answered
MarnAroX posted this in #help-forum
MarnAroXOP
Hello i'm a student, and for my Final Year Project I have to learn new things by myself, and i'm trying to learn nextjs.
I'm doing the getting started but i'm a little bit confused when it comes to setting up my database
https://nextjs.org/learn/dashboard-app/setting-up-your-database#seed-your-database
Here they ask me to delete a file, i thought it was placeholder-data.ts but when I delete it i have an error in my seed's folder
and in my localhost
So my question is , do you guys know what file they are asking to delete ? sorry for bother and have a nice day
I'm doing the getting started but i'm a little bit confused when it comes to setting up my database
https://nextjs.org/learn/dashboard-app/setting-up-your-database#seed-your-database
Here they ask me to delete a file, i thought it was placeholder-data.ts but when I delete it i have an error in my seed's folder
and in my localhost
So my question is , do you guys know what file they are asking to delete ? sorry for bother and have a nice day
Answered by Cape lion
Seems like their meaning the /seed route, which you can delete after seeding the tables
2 Replies
@MarnAroX Hello i'm a student, and for my Final Year Project I have to learn new things by myself, and i'm trying to learn nextjs.
I'm doing the getting started but i'm a little bit confused when it comes to setting up my database
https://nextjs.org/learn/dashboard-app/setting-up-your-database#seed-your-database
Here they ask me to delete a file, i thought it was placeholder-data.ts but when I delete it i have an error in my seed's folder
and in my localhost
So my question is , do you guys know what file they are asking to delete ? sorry for bother and have a nice day
Cape lion
Seems like their meaning the /seed route, which you can delete after seeding the tables
Answer
MarnAroXOP
Looks like it is indeed, thank you !