Track your mental weather with the help of a Companion. An open-source project.
- Nodejs > 12
- Docker and Docker Compose
Use the following command to create a copy of the .env.example
:
cp .env.example .env.local
npm run dev:start-services # This will initialise a Postgres instance
npm run dev # Start the Next.js server
npm run graphql:generate # Start the graphql-codegen in watch mode, necessary when making changes to queries and mutations
├── app # Frontend logic
│ ├── components # All components used in /pages are here, sorted by domain
│ │ ├── companion
│ │ ├── generic
│ │ ├── insights
│ │ ├── landing
│ │ ├── mood
│ │ ├── navigation
│ │ └── tutorial
│ ├── hooks
│ ├── queries
│ ├── styles
│ ├── types
│ └── utils
├── iot # For the hardware, 3d models and companion code
│ ├── companion
│ │ └── src
│ └── models
├── pages
│ └── api # Auth0 and GraphQL endpoint
│ └── auth
├── public
│
└── server # All server logic, sorted by domains
├── domains
│ ├── fitness
│ │ └── graphql
│ ├── mood
│ │ ├── entities
│ │ └── graphql
│ ├── statistics
│ │ └── graphql
│ ├── tags
│ │ ├── entities
│ │ └── graphql
│ └── user
│ ├── entities
│ └── graphql
└── utils
- See License
- See Contributing
- See Code of Conduct