Giter Site home page Giter Site logo

neveon / ppl-workout-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.84 MB

Electron app to generate Push, Pull, or Leg day workouts. Uses json-server as mock API, works in build as well!

HTML 2.27% JavaScript 97.73% CSS 0.01%
electron-react json-server-mock mock-api electron-app react

ppl-workout-generator's Introduction

Available Scripts

npm run electron-dev - This will start the electron react-app

npm run electron-pack - This will package and build a ready for distribution Electron app. The -l command builds for linux. Can be changed for other builds such as mac -m or windows -w.

Notes

To be able to run a local json-server I had to save the server.js and db.json in the public folder for it to function in the build. In development you can install the json-server as a DevDependency and have the server.js and db.json in the root of the workspace as usual. However for this project I wanted to have the build function properly with a local server running.

I will have to look into better ways of integrating a server.js into an electron-react app, especially if I wish to test API calls with json-server. It would be best to keep json-server as a DevDependency.

ppl-workout-generator's People

Contributors

neveon avatar

Watchers

 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.