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.
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.
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)
Follow these instructions to get the Sahara eCommerce platform running on your local machine.
- Node.js
- PostgreSQL
- Firebase account (for authentication)
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
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
Make sure PostgreSQL is running and create the database:
createdb sahara
Run migrations (if applicable) to set up tables:
npm run migrate
Start the development server:
npm run dev
For production build:
npm run build
npm run start
Contributions to Sahara are welcome! If you'd like to contribute:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a Pull Request.
This project is licensed under the MIT License.