Skip to content

Eloi-Perez/just-by-emma

Repository files navigation

Environment Variables and calling the Backend

Create the file .env.local and copy the content of .env.local.example (change the backend URL if needed)

There are two ways of calling the backend API

  • For Next.js server code use: ${process.env.BACKEND}/
  • For frontend code use: /backend/ -> this will be a proxy to the backend URL

Backend Repository

https://github.com/Eloi-Perez/ecommerce-node-backend

Running the development server

npm run dev

Open http://localhost:3000 with your browser to see the result.

How to collaborate on GitHub

https://github.com/Eloi-Perez/guide-collaborating

Learn More

To learn more about Next.js, take a look at the following resources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •