Skip to content

matty0005/deco3801-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Guide/Testing Guide

Please visit seedlings.site in google chrome, safari or firefox on desktop or mobile. We have provided a testing account for you to simply use our website. The details are as follows:

Test Users

Username Password
[email protected] password

If you don't want to use that account, feel free to create an account through the sign up page on the landing page. image

Logged In

Once logged in, you will see the dashboard page where you can see: your upcoming consultations, trending community posts, some of our specialists. You can also navigate to our pages in the top nav bar. image

Consultation Page

On our consultation page you can book a consultation with a specialist of your choice. image Once you have chosen a specialist, you can specify a date and time for your consultation. image Once booked you will be asked to fill out a questionnaire to provide the specialist information about your child. image

Community Page

On the community page you can view posts made by other parents. You can create your own posts, like other posts and comment on other posts. image You're able to search through the existing posts and filter the posts by topics. image You can create a new post by clicking on a topic. The post can be made anonymous if you so choose, and only viewed by specialists if you prefer. image After a posting, you can see a preview of your post with a note that it is awaiting moderation (all posts are moderated to ensure a safe environment). image

Resources Page

On our resources page you can view resources that could provide any assistance with you and your child. image

Kid's Mode

You can enter the kid's mode in the top right hand corner. If you haven't added your child's information you will be asked to provide their name and DOB. image You will see our friendly kid's mode, where the child can begin to answer some questions. Please turn on your audio, so you can hear the narration. image When in the drawing mode, the child can sketch out what's going on in their minds. image The child can keep track of the number of questions answered in the kids mode by the count in the top left hand corner. image The child can also press the arrows on either side of the bouncing mascot to change the mascot to the one that they prefer. image By 'unlocking' the kid's mode using the lock in the top right hand corner and entering your password, you will be brought back to the parent's side of the website. image

Developer Guide

Local Installation

Requirements

  • PHP8
  • composer (latest)
  • npm
  • node v14.17.4
  • docker (if using laravel Sail)

Setting up

  • create a local mysql database called DecoDB
  • composer install
  • npm install
  • npm run watch
  • cp .env.example .env
  • php artisan key:generate
  • php artisan migrate:fresh --seed

Once this is complete, populate the .env file

Running

php artisan serve
npm run watch

Commiting code

Please note before commiting code - especially when to staging or main branch, you need to run

npm run prod

This builds all the assets for the server

Test Users

Username Password
[email protected] password

About

The codebase for Smojgy's project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published