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.
Sahara is built using cutting-edge technologies to ensure performance, scalability, and flexibility.
Follow these instructions to get the Sahara eCommerce platform running on your local machine.
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:
git checkout -b feature/your-feature
).git commit -m 'Add feature'
).git push origin feature/your-feature
).This project is licensed under the MIT License.