Skip to content
プロジェクト

概要

this is groceries

その他のプロジェクト

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…