Skip to content

liveupx/rise-test-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

Rise & Reward: The Rewarding Alarm Clock

Rise & Reward is a revolutionary alarm clock app that helps users wake up on time, earn rewards, and avoid penalties. Get rewarded for waking up early and stay motivated to build healthy sleep habits.

πŸš€ Features

  • Smart Alarm Management:

    • Set multiple alarms
    • Custom alarm tones
    • Repeat alarms on specific days
  • Verification System:

    • Shake verification using the accelerometer
    • Solve simple math problems to dismiss the alarm
    • Combined verification for enhanced wake-up reliability
  • Rewards & Penalties:

    • Earn 5 coins for waking up on time
    • Get fined $5 for snoozing or ignoring alarms
    • Coins can be redeemed (100 coins = $5)
  • Performance Tracking:

    • View wake-up success rate
    • Track streaks and progress using interactive charts
  • User Authentication:

    • Sign up and log in securely
    • Manage profile and view transaction history
  • Payment Integration:

    • Powered by Stripe for secure payments

πŸ› οΈ Tech Stack

  • Frontend: Flutter (Dart)
  • Backend: Node.js (Express.js)
  • Database: PostgreSQL with Drizzle ORM
  • Authentication: JWT Tokens
  • Payments: Stripe API
  • Charts: Recharts

πŸ“¦ Installation & Setup

Follow these steps to get Rise & Reward up and running on your local machine.

Prerequisites

  • Flutter SDK installed
  • Node.js installed
  • PostgreSQL installed
  • Stripe account (for payments)

Clone the Repository

$ git clone https://github.com/liveupx/rise.git
$ cd rise

Backend Setup

  1. Navigate to the backend folder:
$ cd backend
  1. Install dependencies:
$ npm install
  1. Create a .env file using .env.example as a template and configure your environment variables.
  2. Start the server:
$ npm run dev

Frontend Setup

  1. Navigate to the frontend folder:
$ cd ../frontend
  1. Install dependencies:
$ flutter pub get
  1. Run the app:
$ flutter run

πŸ“Š How It Works

  1. Set Up Your Alarm: Choose your preferred wake-up time and verification method.
  2. Wake Up & Verify: Shake your phone or solve a math problem to stop the alarm.
  3. Earn or Lose: Wake up successfully and earn 5 coins. Snooze or ignore? Get fined $5.
  4. Track Your Progress: Monitor your wake-up habits using detailed charts.
  5. Withdraw or Redeem: Convert 100 coins to $5 via Stripe or continue earning.

🀝 Contribution

We welcome contributions! Feel free to fork the repo, create a branch, and submit a pull request.

  1. Fork the repository.
  2. Create your branch: git checkout -b feature/your-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature
  5. Submit a pull request.

πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.


πŸ“§ Contact

For any inquiries, reach out at support@riseandreward.com.

Happy Waking Up! 🌞

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published