Skip to content
项目

关于

this is groceries

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…