GithubHelp home page GithubHelp logo

steenhansen / type-czech-phone-recipes Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 5.83 MB

Online recipe book written in functional JavaScript

Home Page: https://phone-recipes.herokuapp.com/

JavaScript 97.94% CSS 0.19% HTML 1.86%
mongodb oauth2 react-hooks redux selenium ssr storybook tailwindcss vite-plugin-ssr

type-czech-phone-recipes's Introduction

Phone-Recipes, https://phone-recipes.herokuapp.com/, exists to help prepare multiple dishes for a meal using a phone in the kitchen. A list of my online recipes; https://phone-recipes.herokuapp.com/steenhansen1942/gmail.com. Phone-recipes shows mulitple dishes along with timers. Log in with a Google Account. The React components are online with Storybook. Below are screen shots of of my Pork Roast with rice recipes.

User to kitchen

Rescources

Runs On

Credentials Needed (examples in /sample-configs/)

Prepare Node Environment, Sqlite3 issue on Windows issue if try Node 18

  • nvm install 16.16.0

  • nvm use 16.16.0

  • npm install

Run on Heroku

npm run start, no Proc file needed

Test Heroku environment locally with Atlas DB, local MongoDB Compass must be connected also for some reason

npm run prod ../heroku-config.js

Local Dev Run

npm run dev ../dev-config.js

Local Prod Run

npm run prod ../prod-config.js

8 Selenium Tests

  • Close all FireFox windows, tests use a lot of resources. If fail try again. If still fail check hard drive free space. Possibly reboot after empty trash.

  • terminal 1:

     npm run dev /test-selenium/selenium-config.js
    
  • terminal 2:

     cd test-selenium
     node all-selenium-tests
    
  • NB, close Firefox windows after every test as gigabytes of hard drive space are used

8 Vitest JSX tests

npx vitest /test-jsx-browser

12 Mocha Node.js tests

npm run test-node

Storybook Local

npm run show-storybook

Upload Storybook to Chromatic.com

npm run upload-storybook -- --project-token=your-abc123xyz-token

View phone-recipes online storybook on Chromatic.com

https://www.chromatic.com/library?appId=6269af43d179dc004af9a1ec&inviteToken=5fd55d68b13f4f51bc57632bcad949ba

type-czech-phone-recipes's People

Contributors

steenhansen avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.