notion Slider
I promised to clean this code, but I lied, i'll do it one day.
Notion Slider is an utility tool which uses the notion API in order to transform a notion doc into some slides.
/app
folder and run the following commands:docker run -t notion-slider .
. This will build frontend and backend, and serve all this fun people on internal container port 9000.docker-compose up
. (this will start localhost:11000 as it is declared in your file, don't forget to add this url in your integration in notion).go run . -client_id=CLIENTID -client_secret=SECRET -domain=http://localhost:3000/
yarn && yarn dev
version: "3" services: notionslider: # comment build key and uncomment image to not have to build your own image. # image: "decima/notion-slider:0.1" build: { context: . } entrypoint: - ./NotionSlider - -client_id=CLIENT_ID - -client_secret=CLIENT_SECRET - -domain=http://localhost:11000/ ports: - "11000:9000"