gunashekar02 / generator-front-to-back Goto Github PK
View Code? Open in Web Editor NEWA Fullstack Template Generator for Javascript and Django Apps
Home Page: https://www.npmjs.com/package/generator-front-to-back
License: MIT License
A Fullstack Template Generator for Javascript and Django Apps
Home Page: https://www.npmjs.com/package/generator-front-to-back
License: MIT License
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
.
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.
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.
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.
Currently the Django CSS doesn't deploy when using docker-compose up. This would definitely be a great issue to tackle!
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.
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
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
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.
Create basic frontend and backend template folders for Javascript based apps.
Crear el soporte de typescript para las acplicaciones de react y node
Is your feature request related to a problem? Please describe.
Configure React template to include a good folder structure, options for Router and Redux.
Is your feature request related to a problem? Please describe.
Add documentation.
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.
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.
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.
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.
Ask the developer if he wishes to have JWT based authentication in his app and add if yes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.