https://github.com/rk-vashista/sahara
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.
https://github.com/rk-vashista/sahara
firebase postgresql-database svelte tailwindcss
Last synced: 6 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/rk-vashista/sahara
- Owner: rk-vashista
- Created: 2024-09-10T17:10:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T16:54:54.000Z (almost 2 years ago)
- Last Synced: 2024-11-21T17:07:33.443Z (over 1 year ago)
- Topics: firebase, postgresql-database, svelte, tailwindcss
- Language: Svelte
- Homepage: https://sahara.rkvashista.tech/
- Size: 646 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐๏ธ **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:
```bash
git clone https://github.com/rk-vashista/Sahara.git
```
Navigate to the project folder:
```bash
cd sahara
```
Install the necessary dependencies:
```bash
npm install
```
### **3. Configuration**
Set up environment variables by creating a `.env` file in the root directory:
```bash
# .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:
```bash
createdb sahara
```
Run migrations (if applicable) to set up tables:
```bash
npm run migrate
```
### **5. Running the Application**
Start the development server:
```bash
npm run dev
```
For production build:
```bash
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](LICENSE).
---