Skip to content

Sahara is a modern eCommerce platform built with Svelte and Tailwind CSS. It features Firebase authentication and a PostgreSQL backend, offering a seamless shopping experience with a responsive design, secure payment integration, and an admin dashboard for product management.

Notifications You must be signed in to change notification settings

rk-vashista/Sahara

Repository files navigation

🏜️ Sahara — Online eCommerce Website

Sahara is a modern, full-featured online eCommerce platform, designed to deliver a smooth and visually appealing shopping experience. Built with Svelte and Tailwind CSS, it uses Firebase for authentication and PostgreSQL for robust backend functionality.


🚀 Features

Sahara offers a rich set of features to enhance the user experience and ease of management.

  • 🛒 Product Browsing: Seamless browsing through categories and featured items.
  • 🔐 Authentication: Secure user login and signup via Firebase.
  • 🧾 Shopping Cart: Easily add products to the cart with real-time updates.
  • 💳 Payment Integration: Built-in support for secure payments.
  • 📊 Admin Dashboard: Manage products, categories, and users.
  • 🔄 Responsive Design: Fully responsive across devices.

🛠️ Tech Stack

Sahara is built using cutting-edge technologies to ensure performance, scalability, and flexibility.

  • Frontend: Svelte, TailwindCSS
  • Backend: PostgreSQL, Node.js (for APIs)
  • Authentication: Firebase Authentication
  • Deployment: Docker, Vercel (Optional)

📖 Getting Started

Follow these instructions to get the Sahara eCommerce platform running on your local machine.

1. Prerequisites

  • Node.js
  • PostgreSQL
  • Firebase account (for authentication)

2. Installation

First, clone the repository:

git clone https://github.com/rk-vashista/Sahara.git

Navigate to the project folder:

cd sahara 

Install the necessary dependencies:

npm install

3. Configuration

Set up environment variables by creating a .env file in the root directory:

# .env
POSTGRES_URL= your_postgres_url
VITE_FIREBASE_API_KEY= your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN= your_firebase_auth_domain
VITE_FIREBASE_PROJECT_ID= your_firebase_project_id
VITE_FIREBASE_STORAGE_BUCKET= your_firebase_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID= your_firebase_messaging_sender_id
VITE_FIREBASE_APP_ID= your_firebase_app_id

4. Database Setup

Make sure PostgreSQL is running and create the database:

createdb sahara

Run migrations (if applicable) to set up tables:

npm run migrate

5. Running the Application

Start the development server:

npm run dev

For production build:

npm run build
npm run start

🧑‍💻 Contributing

Contributions to Sahara are welcome! If you'd like to contribute:

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a Pull Request.

🛡️ License

This project is licensed under the MIT License.


About

Sahara is a modern eCommerce platform built with Svelte and Tailwind CSS. It features Firebase authentication and a PostgreSQL backend, offering a seamless shopping experience with a responsive design, secure payment integration, and an admin dashboard for product management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published