title: NextJS API Routes vs Firebase Cloud Functions
body: <p>NextJS has a solution to build your own API and have it handle things like authentication and making database requests.</p>
  <p>If I'm using using Vercel to host my app, is there a real reason (other than cost) to use Firebase Cloud Functions separate from NextJS, or do they work the same?</p>
  <p>Will it be easier to have all my server side things on NextJS and Vercel rather than have it on Firebase Cloud Functions?</p>