SalesSage is a powerful platform for predicting sales data on a daily, weekly, or yearly basis. It provides insightful analytics to help companies make data-driven decisions. The platform offers three subscription plans: one free and two paid options, tailored to different business needs.
- Features
- Screenshots
- Installation
- Usage
- API Documentation
- Contributing
- Roadmap
- Support
- Authors
- License
- Predictive Analytics: Forecast sales data with high accuracy.
- Customizable Plans: Choose from free and paid subscription plans.
- User-Friendly Interface: Easy to navigate and use.
- Real-Time Insights: Get up-to-date sales predictions.
- Scalable Architecture: Easily scale the platform as your data grows.
- Secure Data Handling: Ensure your data is safe with our secure backend.
Here are some screenshots of the SalesSage platform:
SalesSage landing page
Follow these steps to set up the project locally.
- Docker
- Docker Compose
git clone https://github.com/pallav46/SalesSage.git
cd SalesSageThe project uses environment variables for configuration. Create a .env file in the backend directory with the following variables:
MONGODB_HOST=<your_mongodb_host>
MONGODB_PORT=<your_mongodb_port>
MONGODB_NAME=<your_database_name>
MONGODB_USER=<your_mongodb_username>
MONGODB_PASSWORD=<your_mongodb_password>
SECRET_KEY=<your_django_secret_key>
JWT_ALGORITHM=<your_jwt_algorithm>
EMAIL_PORT=<your_email_port>
EMAIL_HOST_USER=<your_email_host_user>
EMAIL_HOST_PASSWORD=<your_email_host_password>
RAZORPAY_KEY_ID=<your_razorpay_key_id>
RAZORPAY_KEY_SECRET=<your_razorpay_key_secret>
RAZORPAY_WEBHOOK_SECRET=<your_razorpay_webhook_secret>-
Navigate to the
backenddirectory:cd backend -
Create and activate the virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Run the Django server:
daphne SalesSage.asgi:application
-
Navigate to the
frontenddirectory:cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
Alternatively, you can use Docker to run both the backend and frontend.
-
Build and start the containers:
docker-compose up --build
-
Access the application at
http://localhost:5173.
- Accessing the Application: Open your browser and go to
http://localhost:5173. - User Registration: Sign up for a free or paid plan.
- Sales Predictions: Add Sales report to view sales predictions.
Our API allows developers to integrate SalesSage's predictive analytics into their own applications. Below is a brief overview of the available endpoints.
GET /api/predictions: Retrieve sales predictions.POST /api/sales-data: Submit sales data for analysis.
For detailed API documentation, please refer to the API Docs.
We welcome contributions from the community. To get started:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
Please make sure to update tests as appropriate.
-
Clone the repository:
git clone https://github.com/pallav46/SalesSage.git cd SalesSage -
Backend:
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required packages:
pip install -r requirements.txt
- Create and activate a virtual environment:
-
Frontend:
- Navigate to the
frontenddirectory and install dependencies:cd frontend npm install
- Navigate to the
- Ensure your code adheres to the existing style conventions.
- Run linters before committing your code.
- Add more detailed sales analytics
- Implement user authentication and authorization
- Integrate more data sources for comprehensive predictions
- Enhance the UI/UX for better user experience
- Mobile app version for on-the-go access
For support, please open an issue in the repository or contact us at support@SalesSage.com.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License. See the LICENSE file for details.