Skip to content

mongodb-industry-solutions/retail-store-v2

 
 

Repository files navigation

Getting Started

Restore the e-commerce data to your own MongoDB Atlas database

mongorestore --gzip --dir=dump/dotLocalStore --uri "mongodb+srv://<user>:<password>@<cluster-url>/<target-database>"

Note 1: we can focus for now only on: users, products and locations Note 2: This dump was generated from executing the following command on the original db

mongodump --uri "mongodb+srv://<user>:<password>@<cluster-url>/<source-database>" --gzip

Then, create a .env.local file at the root level woth the following env vars

## .env
MONGODB_URI=<mongodb-connection-string>
DATABASE_NAME=<your-db-name>

Finally, install dependencies

npm install

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.4%
  • CSS 14.9%
  • Other 0.7%