RUN
is a phonetic acronymn based on the question "Are You In?", which is commonly asked by co-workers to see if they should be in the office today.
This service is designed to provide a centralised answer to the question "Are you in?" allowing co-workers and managers to see who else is in the office today. The app is built as a PWA, allowing users to quickly and easily set their status for the day from their mobile devices, as well as providing push notifications. There will be automated slack and teams integrations, allowing user's to set and view statuses, as well as providing daily updates to shared channels. We plan on providing metrics and analytics on a team/employee/office level, allowing managers to gain a comprehensive overview of the usage of their coworking spaces.
You will need:
- Auth0 Account (https://auth0.com/)
- Postgres database (Set up a local database)
Then copy the file .env.example
and rename it to .env.local
. Fill in the entries for the Auth0 credentials and the database/postgres URL.
Instructions:
- Run these commands to start the server
pnpm install # Install dependencies
pnpm prisma db push # Migrate database schema
pnpm dev # Start the server on `http://localhost:3000`
- (Optional) After logging in, put your email into (
prisma/seed.ts
) and run the seed scriptpnpm ts-node prisma/seed.ts
. This will add a bit of data to your workspace, making it easier to test.
Cron jobs are run on 5 minute intervals to auto-deny and push notifications based on user settings.
They are currently hosted on cron-job.org.
The routes are:
GET /api/jobs/auto-deny
GET /api/jobs/push-notifications
Authentication scheme:
Authorization: Bearer <env.CRON_API_KEY>
- Are you in?
- Are you in today?
- Overview
- Workspace settings
- Members settings
- User settings
- Make today view nicer
- Auto-deny at
- Authentication
- Set status
- Mobile
- Test / Update all components to be mobile friendly
- PWA integration
- Push notifications
- Verify /setup after nextui introduction
- Invite flow
- Create auth entry
- Invite user modal
- Send invite email
- Set user name / role in modal
- Deploy!
- Github Repo
- Vercel
- Postgres
- App Hosting / Link to repo
- Configure auth0
- Domain
- Landing Page
- Sorting and improving user experience for larger orgs
- Departments / Titles / Teams
- Integrations
- Slack
- Daily message
- Report from app
- Set status
- Backlink
- Teams
- Daily message
- Report from app
- Set status
- Backlink
- Slack
- Upload photos
- Metrics and graphs
- Mass invite users
- By email
- By domain
- Better in/out controls
- Morning / Afternoon only
- Multiple offices?
- Weekly / Bi-Weekly / Monthly auto controls
- View other's auto controls
- Admin / User differentiation
- View other user's profiles
- API
- Create / Read / Delete registrations
- Marketing Materials