Skip to content
Proyek

Tentang

this is groceries

Proyek lainnya

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…