A simple e-commerce website for selling 3D printed models.
This project is a straightforward online store designed to showcase and sell 3D printed models. The website provides customers with an easy way to browse, view details, and purchase various 3D printed products.
- Product catalog displaying 3D printed models
- Detailed product pages with descriptions and images
- Shopping cart functionality
- Secure checkout process
- Responsive design for mobile and desktop viewing
These instructions will get you a copy of the project up and running on your local machine.
Before you begin, ensure you have met the following requirements:
- Node.js (version 18 or higher) installed
- PostgreSQL database running locally or accessible
- npm package manager installed
-
Clone the repository:
git clone https://github.com/Chetsama/3D_Things.git cd 3D_Things -
Install dependencies:
npm install --legacy-peer-deps -
Set up environment variables:
- Copy
.env.exampleto.env - Update the database URI and other configuration values as needed
- Copy
- Start the development server:
Backend
npx ts-node src/index.ts
Frontend
npx next dev --port 3001
- The application will be available at:
- Server: http://localhost:3000
To build the project for production deployment:
npm run build
This project uses Payload CMS, but it appears to be configured with a basic Express server. The main application entry point is src/index.ts which runs on port 3000.
If you want to use Payload CMS features like the admin panel, you may need to:
- Configure the proper Payload CMS configuration
- Set up database migrations
- Run additional setup commands
For more information about Payload CMS integration, please refer to the official documentation.
...