I have a project I originally made in NextJS, and now I want to make it a mobile app.
I started off with:
npx create-react-native-app -t with-nextjs
I started transferring the code over and the front end was very strait forward, almost the same. Now I'm trying to implement a backend to it with the same Next API routes I had set up before, and I'm pretty lost.
I'm not even sure if I'm connected to the database because I can't fetch data with getServerSideProps()
Can I set up a API the same way as I previously have?
Is dynamic routing the same as it is in regular Next JS?
Where is the _app.js file?