Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eloi-perez/just-by-emma
https://github.com/eloi-perez/just-by-emma
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eloi-perez/just-by-emma
- Owner: Eloi-Perez
- Created: 2022-09-14T22:52:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T17:41:52.000Z (over 1 year ago)
- Last Synced: 2023-07-13T18:36:05.891Z (over 1 year ago)
- Language: JavaScript
- Size: 8.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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```bash
npm run dev
```Open [http://localhost:3000](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:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.