BloomBear is a sophisticated online flower delivery service based in Berlin, Germany. The platform offers a wide selection of beautiful bouquets and floral arrangements for all occasions with fast and reliable delivery.
Frontend:
Backend:
Clone the repository:
git clone https://github.com/Leytox/bloombear.git
cd bloombear
Install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
Set up environment variables:
Create a .env
file in the root directory with the following variables:
DATABASE_URL="postgresql://username:password@localhost:5432/bloombear"
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="your_stripe_publishable_key"
STRIPE_SECRET_KEY="your_stripe_secret_key"
AUTH_SECRET="generate_a_secret_key_using_authjs"
Set up the database:
npx prisma migrate dev
Seed the database (if available):
npx prisma db seed
Start the development server:
npm run dev
Open http://localhost:3000 in your browser to see the application.
/app
: Next.js application routes and page components/components
: Reusable React components/constants
: Application constants and static data/lib
: Utility functions and shared code/prisma
: Database schema and migrations/public
: Static assets (images, icons, etc.)/store
: Zustand stores for global state management/types
: TypeScript type definitions/actions
: Server actions for database operationsContributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License - see the LICENSE file for details.