A modern web application for LPG ("cooking gas") sales and distribution across Nigeria, powered by the Soso Credits wallet system.
- User Registration & Soso Credits Wallet
- LPG Catalogue & Purchases
- Points & Referral System
- Order Management
- Delivery Management with Secure Confirmation
- Enterprise Support Program
- Community Forum & Customer Support
- Next.js 14 (App Router)
- TypeScript
- Tailwind CSS
- Prisma (Database ORM)
- NextAuth.js (Authentication)
- React Query (Data Fetching)
- React Hook Form (Form Management)
- Zod (Schema Validation)
- Clone the repository
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env.local
- Initialize the database:
npx prisma db push
- Run the development server:
npm run dev
Create a .env.local file with the following variables:
DATABASE_URL="your-database-url"
NEXTAUTH_SECRET="your-nextauth-secret"
NEXTAUTH_URL="http://localhost:3000"src/
├── app/ # App router pages
├── components/ # Reusable components
├── lib/ # Utility functions and configurations
├── prisma/ # Database schema and migrations
└── types/ # TypeScript type definitions
- Create a feature branch
- Make your changes
- Submit a pull request
MIT