MCPcopy Index your code
hub / github.com/bugthug404/Groceries-next

github.com/bugthug404/Groceries-next @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
42 symbols 134 edges 39 files 0 documented · 0% updated 10mo ago★ 235
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 39
Interface 3

Languages

TypeScript100%

Modules by API surface

frontend/utils/auth-hook.ts5 symbols
frontend/utils/item-hook.ts4 symbols
backend/src/controllers/groceryItem.service.ts4 symbols
frontend/pages/signup.tsx2 symbols
frontend/pages/login.tsx2 symbols
frontend/components/user/edit-item-modal.tsx2 symbols
frontend/components/user/add-item-modal.tsx2 symbols
frontend/components/labeled-input.tsx2 symbols
backend/src/controllers/auth.service.ts2 symbols
frontend/utils/user-model.ts1 symbols
frontend/utils/loader.tsx1 symbols
frontend/utils/item-list-hook.ts1 symbols

Datastores touched

GroceryItemCollection · 1 repos
UserCollection · 1 repos
(mongodb)Database · 1 repos

For agents

$ claude mcp add Groceries-next \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page