Giter Site home page Giter Site logo

create-repack-app's People

Contributors

alexwinitzky avatar jakesorce avatar jaypitti avatar mrtj458 avatar ricardozv28 avatar spenhappenin avatar taylorwu21 avatar wdjungst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

create-repack-app's Issues

Devise Secret key

Devise Secret gets lost when cloning a built repo. This is because of the Devise Gem and we should generate a Devise config with a generated key for development and ENV key for production

[FULL] Initial 401

We try to validate the token on every request including the initial request before a user is logged in.

The browser default is to send back a 401 which it should. This causes the lighthouse score to drop slightly due to console errors.

We need a more graceful way to handle validating the token when you land on a page for the first time or token has expired

Listen console warning

Listen generates a console warning on MacOS due to deep linking. We can suppress this warning by overwriting the duplicate directory warning in config/environments/development.rb

Auto Update

I would like to move the code in index.js to its own module and when a new app is created the latest code is pulled down from NPM this would allow auto-updating.

Opt out of CSS framework

Been looking into creating a flag to opt out of using a css framework. This would require basically creating an alternate client setup consisting of components that don't use semantic for their styling. Wondering if anyone else has interest in this use case, if there is interest I would be happy to start poking through it.

with no api modules devise fails to register

We are authenticating users for any controller in the API folder by default with the full flag. If a controller doesn't exist in the API folder this causes devise registration to attempt to authenticate a user. Creating a generic API controller would solve this.

[FULL] Login and registration form

The login and registration forms are intended to be very generic and unstyled(ish) similar to the original devise authentication flow.

I am all for not styling them but since they are styled already with semantic we should make them a little easier to look at.

[FULL] -y flag

A frequent user should be able to skip all questions using the full flag with a -y flag which would default the first question about create-react-app to yes and assume the server will be running on port 3001

Installation is broken for both --full and normal installs

Brennicks-MacBook-Air:Projects biosci$ create-repack-app vertical-coop-app --full
Welcome To Create Repack App.

? Do you have create-react-app installed and globally available? Yes

Writing Server Code...
Writing Client Code...

Please Wait, This Could Take A Few Minutes...

? Rails server port 3001

Performing A Full Install. (Rails, React, React Router, Redux, Devise, Devise Token Auth, Authentication Components)

Please Wait, This Could Take A Few Minutes...

(node:22043) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open 'vertical-coop-app/client/package.json'
(node:22043) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Project Built Successfully!

GETTING STARTED:
cd vertical-coop-app
rails s -p 3001
cd client
yarn start or npm run start

PRODUCTION:
If deploying to heroku:
heroku buildpacks:clear
heroku buildpacks:set heroku/nodejs
heroku buildpacks:add heroku/ruby --index 2

If not deploying to heroku:
From root folder: yarn build && yarn deploy


The following json package file does not get created: /client/package.json

[FULL][REDUX] Duck pattern

In most of my personal projects, I have moved to the DUCK pattern. Perhaps we should have a flag for this or a console option.

Issues for users running on Linux Subsystem for Windows:

Issue affects users running on Linux subsystem for Windows (and others with strict settings related to creating roles on their local server)

You need to be able to put your own postgres user name BEFORE devise:install runs because users running on Linux subsystem have an unrelated issue with the default role parameter not being an accepted role, and therefore devise install will not work, when running "create-repack-app project_name --full -y". Theoretically, ANYONE with strict settings related to creating new roles on their local server, will have this same issue. Perhaps the user may have the option of passing in their "role" name as an argument, to be inserted into the database.yml?

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.