Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Implement a setup file #840

Closed
2 of 3 tasks
pranshugupta54 opened this issue May 11, 2024 · 13 comments · Fixed by #915
Closed
2 of 3 tasks

[Feature]: Implement a setup file #840

pranshugupta54 opened this issue May 11, 2024 · 13 comments · Fixed by #915
Assignees
Labels
backend Backend related task frontend Frontend related task gssoc hard level3

Comments

@pranshugupta54
Copy link
Member

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

A script npm run setup to ask the user for all required environment variables as required.

Describe the solution you'd like

Can use inquirer for this.

Alternatives

No response

Additional Context

No response

Are you interested in contributing?

  • I'd like to work on this issue

Code of Conduct

  • I have used the search function to check if an issue already exists
  • I agree to follow this project's Code of Conduct

Which program are you contributing in?

gssoc, swoc, kwoc, dwoc, tublian

Copy link

linear bot commented May 11, 2024

Copy link

Hello @pranshugupta54! 🌟
Thanks a bunch for creating an issue. Your input is invaluable, and we're eager to collaborate with you to address the matter. Keep up the fantastic work!

Don't forget to hit the ⭐ star button 😉

Tip

Don't forget to check our Contributing Guidelines, PR Guidelines and Issue Guidelines for more details.

Website | Discord | Twitter | Instagram | Linkedin

@keshavsinha17
Copy link

do we need to ask for ports too? frontend and backend URL?

@pranshugupta54
Copy link
Member Author

Everything that's needed in env

@keshavsinha17
Copy link

i implemented it on my side here's how it turned out , suggest changes(if any)
image

@pranshugupta54
Copy link
Member Author

Make sure to add some default values in each of them

@keshavsinha17
Copy link

do i need to do same for backend too?

@pranshugupta54
Copy link
Member Author

Yes

@keshavsinha17
Copy link

Make sure to add some default values in each of them

I do have them for URLs but keeping default values for API keys is not a good idea I guess

@pranshugupta54
Copy link
Member Author

Also, we need a documentation for this - so users know how to use this

@keshavsinha17
Copy link

Also, we need a documentation for this - so users know how to use this

yeah I was about to say that I'll add that too

@pranshugupta54
Copy link
Member Author

Make sure to add some default values in each of them

I do have them for URLs but keeping default values for API keys is not a good idea I guess

Not for keys but other things like local mongodb, port etc (We do have a testing gist on our discord - maybe can use those values)

@keshavsinha17
Copy link

Make sure to add some default values in each of them

I do have them for URLs but keeping default values for API keys is not a good idea I guess

Not for keys but other things like local mongodb, port etc (We do have a testing gist on our discord - maybe can use those values)

yeah thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related task frontend Frontend related task gssoc hard level3
Projects
None yet
2 participants