Giter VIP home page Giter VIP logo

generator-front-to-back's People

Contributors

gunashekar02 avatar payassingh avatar skeshavaa avatar

Stargazers

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

Watchers

 avatar  avatar

generator-front-to-back's Issues

Add option to install CORS on the backend

Is your feature request related to a problem? Please describe.
When we're developing REST APIs, we'd want to open our API publicly or to specific domains and we require CORS for doing that. It would be good if it can be installed and configured in the template.

Describe the solution you'd like
Install cors and configure it in server.js.

Add command prompts for Django

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently, users are not given the option to choose if they want additional libraries
Describe the solution you'd like
A clear and concise description of what you want to happen.
Users should be able to choose the libraries they want
Additional context
Add any other context or screenshots about the feature request here.

Add an option to include redux thunk

Is your feature request related to a problem? Please describe.
More often than not, if your application is interacting with an API, you would want to perform asynchronous operations before sending some data into the redux store, and redux thunk is a really good solution to this.

Describe the solution you'd like
Add an option to include redux thunk along with redux. If the option is enabled by the user, you'll have to install the redux thunk library(add it to package.json) and apply the middleware in ConfigureStore.js.

Add an option to use Context API

Is your feature request related to a problem? Please describe.
Redux might be an overkill for really small applications, and Context API would serve as a good alternative.

Describe the solution you'd like
Add an option to choose between Redux and Context API and configure the boilerplate accordingly.

Add option to set up Docker for Django

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Give the user the option to Dockerize their Django app and configure it for them
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add a basic Dockerfile which runs the Django app on localhost:8000
Additional context
Add any other context or screenshots about the feature request here.

Portfolio template

Is your feature request related to a problem? Please describe.
Everyone requires a basic portfolio page, be it for any job application just to showcase what the road has been like for you in terms of projects, achievements or experience and one could use an auto-generated portfolio with minor tweaks instead of going through the pain of making, any one can use this.

Describe the solution you'd like
create a new generator to solve the above issue

GitHub Actions for React

Is your feature request related to a problem? Please describe.
It's important to have testing of the boilerplate code, so that we can always check it's compatibility with different versions

Describe the solution you'd like
GitHub Action to test the React Boilerplate code with Node 14 and Node 15

Additional context
None

Change app name everywhere

Is your feature request related to a problem? Please describe.
The older name of the app is used in a lot of places in the repository. Change it to generator-front-to-back and make necessary changes in package.json and README.md.

Add documentation

Is your feature request related to a problem? Please describe.
Add documentation.

Add Axios configuration to React

Is your feature request related to a problem? Please describe.
Users might want to connect their frontend to their backend. Using axios for this purpose might be a good idea and configuring it for them might save some time.

Describe the solution you'd like
Install and configure axios and develop a folder structure for it.

BUG

Hello, i'm trying to execute the generator but is not working.

(base) ➜  projetos yo front-to-back:django

     _-----_     ╭──────────────────────────╮
    |       |    │  Welcome to the supreme  │
    |--(o)--|    │  generator-front-to-back │
   `---------´   │     generator, Django    │
    ( _´U`_ )    │         Version!         │
    /___A___\   /╰──────────────────────────╯
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? App name [myapp] test
? Would you like Django or Django + React Django + React
? Would you like to include Docker Yes
? Would you like to include Swagger? Yes
django-react/backend/api/
django-react/backend/requirements.txt
django-react/frontend/public/
django-react/frontend/src/
django-react/frontend/package-lock.json
Error front-to-back:django 

Trying to copy from a source that does not exist: /usr/local/lib/node_modules/generator-front-to-back/generators/django/templates/django-react/frontend/package-lock.json

I tried using Windows and Mac, both give the same error.

Add Swagger for Django

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
APIs can be hard to understand for someone new working on a project. Good API documentation helps with keeping things clear and concise
Describe the solution you'd like
A clear and concise description of what you want to happen.
Give user the option to add swagger to get a simplified view for their API
Additional context
Add any other context or screenshots about the feature request here.

Add database preferences

Is your feature request related to a problem? Please describe.
When we run backend apps, we would more often than not want to integrate a database. It would be great to have a database configuration option within the generator that could potentially save a lot of time.

Describe the solution you'd like
When the user starts generating the app, he should also be prompted to select a database, a SQL one, a No-SQL one or neither and required libraries should be installed and files should be generated.

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.