This is an e-commerce website built with the help of Medusa JS using Next.js, React, Tailwind CSS for the frontend, and Express with PostgreSQL for the backend, payment integration using Stripe and S3 for storing static assets.
- Features
- Tech Stack
- Prerequisites
- Installation
- Configuration
- Running the App
- Scripts
- Contributing
- License
- User Auth (signup, login, logout)
- Product Listing
- Search using Algolia
- Shopping cart and checkout flow
- Responsive design
- Payment using Stripe
- S3 for storing static assets
React JS
Tailwind Express JS
PostgreSQL
TypeORM
Stripe
Amazon S3 Vercel
Railway
- Node.js (v14.x or later)
- npm or yarn
- PostgreSQL
- Clone the repository:
git clone https://github.com/masrur-mmrs/aesthetix-admin-store.git
cd aesthetix-admin-store
- Install dependencies for both the frontend and backend:
cd frontend
npm install
cd ../backend
npm install
- Set up environment variables:
Create a .env
file in the backend directory with the following content
DATABASE_URL=postgres://username:password@localhost:5432/database_name
JWT_SECRET=your_jwt_secret
- Set up PostgreSQL database:
npx @medusajs/medusa-cli@latest seed -f ./data/seed.json
Start the backend server:
cd backend
npm run dev
Backend Scripts:
- npm run clean
- npm run build
- npm run build:server
- npm run build:admin
- npm run dev:admin
- npm run watch
- npm run test
- npm run seed
- npm run start
- npm run start:custom
- npm run dev
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.