This application allows users to share and schedule their Growth Sessions.
To create / join a Growth Session, the user must login.
To avoid the registration step, this application uses oauth.
- Docker for Mac: https://www.docker.com/products/docker-desktop
sh scripts/create.sh
Note The create script populates OAuth credentials through a secure vault. You can skip this through pressing ENTER when prompted.
# PHP Dependencies (This is important just to have sail)
composer install
# Setup env
cp .env.example .env
# Start sail containers
sail up -d
# Install php dependencies through sail
sail composer i
# Initially App key
sail artisan key:generate
## Initialize database
sail artisan migrate --seed
# Start frontend
sail pnpm i
sail pnpm dev
# The app will be served on http://localhost:8008 by default
# The port may be changed via the APP_PORT env variable
# Frontend
sail pnpm test
# Backend
sail artisan test
# To run these tests through the IDE, remember to configure it to use Remote Interpreters (for both PHP and Node)
- Go to github, and open your settings page
- Open Developer settings
- Create a new OAuth App
- Set the homepage to
http://localhost:8008
- Set the callback url to
http://localhost:8008/oauth/github/callback
- Save it
- Copy the Client ID to
./.env#GITHUB_CLIENT_ID
and Client Secret to./.env#GITHUB_CLIENT_SECRET
- Go to your Google Developer console
- Select a Project to add OAuth to (or create a new project)
- Configure your Oauth Consent Screen
- Create OAuth Credentials for the project
- Select
Web Application
as the Application Type - Give your application a Name
- Add
http://localhost:8008/oauth/google/callback
as a Redirect URI - Click Create
- Select
- Copy the Client ID to
./.env#GOOGLE_CLIENT_ID
and Client Secret to./.env#GOOGLE_CLIENT_SECRET
- Set
./.env#GOOGLE_REDIRECT_URL
tohttp://localhost:8008/oauth/google/callback
For more information, see: