https://github.com/reinskywalker/calmspace-hub-shared
A dead simple mental-health platform for guided meditations, mood tracking, and also, discussion forum with people, featuring admin panel and contributor system. Developed in Laravel (v8.83.27))
https://github.com/reinskywalker/calmspace-hub-shared
Last synced: 4 months ago
JSON representation
A dead simple mental-health platform for guided meditations, mood tracking, and also, discussion forum with people, featuring admin panel and contributor system. Developed in Laravel (v8.83.27))
- Host: GitHub
- URL: https://github.com/reinskywalker/calmspace-hub-shared
- Owner: reinskywalker
- License: apache-2.0
- Created: 2024-07-14T06:09:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-22T16:48:38.000Z (over 1 year ago)
- Last Synced: 2025-04-06T04:35:33.523Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.22 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```markdown
# Mood Tracker and Discussion Forum
This project is a Mood Tracker and Discussion Forum platform designed to help users track their mood, visualize trends, and engage in meaningful discussions related to mental health and mood management.
## Features
- Mood Tracker: Users can log their daily mood and view a monthly calendar with mood highlights.
- Discussion Forum: A platform for users to ask questions and engage in discussions related to mental health and well-being.
- Role-Based Access Control: Includes roles for super-admin, admin, and regular users with different permissions.
- Interactive Charts: Displays mood trends using line charts for visualization.
- WYSIWYG Form: Users can submit questions with a rich-text editor for formatting.
---
## Installation Instructions
1. **Clone the repository**:
```bash
git clone
```
2. **Navigate to the project directory**:
```bash
cd
```
3. **Copy the environment configuration file**:
```bash
cp .env.example .env
```
4. **Set up your database**:
- Configure the `.env` file with your database credentials.
- Example:
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=calmspace
DB_USERNAME=root
DB_PASSWORD=
```
5. **Run database migrations and seed data**:
- The seeder will create:
- 5 **super-admin**
- Initial mood master data
- Initial roles and permissions
```bash
php artisan migrate:fresh --seed
```
6. **Generate the application key**:
```bash
php artisan key:generate
```
7. **Start the development server**:
```bash
php artisan serve
```
---
## Credentials
- **Super-Admin Login**:
- Email: `reynaldi@calmspace.com`
- Password: `adminadmin`
---
## Key Commands
- **Migrate Database**: `php artisan migrate`
- **Seed Database**: `php artisan db:seed`
- **Clear Cache**: `php artisan cache:clear`
---
## Usage
- Access the Mood Tracker from the navigation bar to log and view your mood.
- Navigate to the Discussion Forum to ask questions and view discussions.
---
## Dependencies
- Laravel Framework
- Spatie Laravel Permissions (for role-based access control)
- CKEditor (for WYSIWYG editor)
- Chart.js (for visualizing mood trends)
---
## Contributing
Feel free to fork the repository and submit pull requests for new features or improvements. Ensure all changes are tested before submission.