Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An e-commerce starter built with Next.js, MongoDB, and Node.js with multiple payment methods, roles, and an admin panel.

Next.js ecommerce starter built as a web programming final exam, using MongoDB, Prisma, Tailwind CSS, and JWT auth.
Space Shop is an open-source e-commerce starter template built on Next.js, MongoDB, and Node.js that provides a full storefront with an admin panel, role-based access control, and multiple payment methods. This template targets developers who want a production-style online shop with daily automated product updates and an AWS-ready deployment profile.
Space Shop is a full-stack e-commerce application template that runs on the Next.js React framework with a Node.js backend and MongoDB as its database. It ships with a seeded product catalog, a customer-facing storefront, and an admin panel, and it supports multiple payment methods. The repository includes Docker Compose configuration so the MongoDB database can be started locally with a single command.
Clone the repository, then start the local MongoDB database with docker-compose up -d. After installing dependencies with yarn install and running yarn dev, rename .env.template to .env to set your environment variables. Finally, send a POST request to http://localhost:3000/api/seed to fill the database with initial store data.
Yes, the template is open-source and the repository is publicly available. There is no mention of a paid license or subscription in the README, so you can clone and modify it for your own projects.
The template uses MongoDB. The default local connection string is mongodb://localhost:27017/spacedb, and a docker-compose.yml is included so you can start a MongoDB container without installing it globally.
The README states that the app offers "different methods pays" (different payment methods) but does not list specific providers. Check the source code in the payment integration section to see which gateways are implemented.
Start the app, then send a POST request to http://localhost:3000/api/seed. This endpoint creates the initial catalog and store data needed for the shop to function.
The front end is built with Next.js and React, the back end runs on Node.js, and MongoDB stores data. Repository topics also include AWS, indicating the template is intended for cloud deployment.
