A decentralized E-commerce backend API where users can create their own stores, list products, and purchase items from other stores, while also allowing admin management and moderation.
- Backend: Node.js
- Framework: Express.js
- Database: Postgres
- Secondary Database: redis
- ORM: Drizzle
- Validation: Joi
- Authentication: jsonwebtoken
- OAuth: Passport.js
- Sending Emails: nodemailer
- Email generation: mailgen
- Payment Infrastructure: stripe
- File uploads: Multer
- E2E testing: Playwright
- Cloud-storage: cloudinary
- API Testing: Supertest
- Unit Testing: jest
- Logging: Winston and Morgan
- implement user authentication
- implement user information update
- [] implement store creation and management
- [] implement product creation and management
- [] implement product and store search and filtering
- [] implement cart management
- [] implement order placement and management for buyers
- [] implement payment integration with stripe
- [] implement order management for store owners
- [] implement order history for buyers
- [] implement store fees
- [] implement product review
- [] implement admin functionalities
- [] setup swagger API for documentation
- clone repository
git clone [email protected]:Raphico/market-space.git
cd market-space
- install dependencies
npm install
- copy
.env.sample
to.env
and update the variables
cp .env.sample .env
- start the development server
npm run dev
- push database schema
npx drizzle-kit push
Licensed under the MIT License. Check the LICENSE file for details.