Skip to content

Getting Started

after installing (on the welcome page)

before you start you will need to run a local mongodb server
you may need to do some googling to set that up but here are the mongoDb Docs

make sure it is running on this http://127.0.0.1:27017

You will need to create a .env.local for this app. The values you need for this are as follows: * DB_URL=mongodb://127.0.0.1:27017/SmokerDB * VAPID_PUBLIC_KEY= * VAPID_PRIVATE_KEY=

once that is set up just run
npm run start
and you should be good to go

API

once you get this running you can go to http://localhost:3001/api/ to see the swagger of all api endpoint and test them to your live local env

Websocket

This is used for live temps from the pi and to the cloud frontend
It is also use for live updates like start and stop smoking button