Is my folder setup wrong for API routes ?
Answered
Siberian posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
SiberianOP
Anybody can help me correct the folder setup ? I dont see the json
![Image](https://cdn.discordapp.com/attachments/1219895203129851905/1219895203465400330/image.png?ex=660cf6f1&is=65fa81f1&hm=bd08b84f46f6d87d158f8560c935f7d579709f1fc98113e29a99a78f105aea24&)
![Image](https://cdn.discordapp.com/attachments/1219895203129851905/1219895203780104232/image.png?ex=660cf6f1&is=65fa81f1&hm=732c3bd399038c8b10c94099bb93b04394f1edc3fd01e069b789d8b88dec4ea0&)
13 Replies
![Avatar](https://cdn.discordapp.com/avatars/1011594178934878248/3dcc464b55267c406f84c2c541ac00df.webp?size=256)
averydelusionalperson
The pages folder should be outside the app folder
Answer
![Avatar](https://cdn.discordapp.com/avatars/1011594178934878248/3dcc464b55267c406f84c2c541ac00df.webp?size=256)
averydelusionalperson
app & pages dir are two different things
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
SiberianOP
is this not correct still ?
![Image](https://cdn.discordapp.com/attachments/1219895203129851905/1219901205233401887/image.png?ex=660cfc87&is=65fa8787&hm=7a8063a8d409f1a646e853481f2d411a0bc838bf7d7a2bad95ad578b1178dd41&)
![Avatar](https://cdn.discordapp.com/avatars/1011594178934878248/3dcc464b55267c406f84c2c541ac00df.webp?size=256)
averydelusionalperson
It's fine now
![Avatar](https://cdn.discordapp.com/avatars/1011594178934878248/3dcc464b55267c406f84c2c541ac00df.webp?size=256)
averydelusionalperson
@Siberian so, it worked?
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
SiberianOP
sorry . it works now 🙂
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
SiberianOP
Hi @averydelusionalperson are you still there?
![Avatar](https://cdn.discordapp.com/avatars/1011594178934878248/3dcc464b55267c406f84c2c541ac00df.webp?size=256)
averydelusionalperson
I am
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
SiberianOP
So,is there a way I can use this package in a next js application ?
![Avatar](https://cdn.discordapp.com/avatars/1011594178934878248/3dcc464b55267c406f84c2c541ac00df.webp?size=256)
averydelusionalperson
ahh, this is a different question, I suggest creating a new post on #help-forum
that way you'll get more help & questions are better managed
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
SiberianOP
fair I will do it