Skip to content
Proyectos

Acerca de

this is groceries

Otros proyectos

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Groceries

Getting Started

Follow these steps to run this project on your local machine:

  1. Clone the repository

If you haven't already, clone the repository to your local machine:

git clone https://github.com/bugthug404/Groceries-next.git
  1. Navigate to the project directory

Change your current directory to the project directory:

cd Groceries-next
  1. Install dependencies You need to install the dependencies for both the frontend and backend.

Note: Open 2 terminal 1 for backend & 1 for frontend to keep both process seperate.

For the frontend (frontend terminal):

cd frontend
npm install

For the backend (backend terminal):

cd backend
npm install
  1. Set up environment variables Copy the sample environment variable files and fill in the necessary values:

For the frontend (frontend terminal):

cp .env.sample .env.local

For the backend (backend terminal):

cp .env.sample .env
  1. Start the servers You can now start the frontend and backend servers.

For the frontend (frontend terminal):

npm run dev

For the backend (backend terminal):

npm run dev

Now, you should be able to access the application at http://localhost:3000 (or whatever port your frontend server is running on).

Test online demo here.

Note: backend is deployed in render.com & may take some time in first api call. run test api call to check if backend is working or not. default form data for login & signup can be edited

Explorar proyectos relacionados

Cargando…