
React 'yarn start_dev' env file branch sample example program
- or -
Post a project like this586
£8(approx. $11)
- Posted:
- Proposals: 10
- Remote
- #4056311
- Awarded
Web developer|| Mobile App Developer | Wordpress | PHP Laravel | Flutter App Developer | Ecommerce | Android App | IOS APP

WordPress Expert | Web & App Developer | SEO Specialist | Content Writer | Blockchain | Python | OpenAI | Machine Learning

Python | Django | | OpenAI | GenerativeAI | ML | AI| Face recognition|ChatGPT|GoLang|React | Mobile App | Graphic Design
59579761006518397604633544992260137731510053015549280013262571409561738





Description
Experience Level: Entry
I'm looking for a basic sample project to know how to handle env branching in react.
[Submit results]
1. When you're done, post the result on your github and give me the link. (Please exclude node_modules folder)
2. The output must be executed with the yarn start command.
[Requirements]
1. It should work even if 'REACT_APP_' is not attached.
For example, after putting in a value in the form of 'COMPANY= google', I should be able to get the value in the form of 'process.env.COMPANY'. (Not in REACT_APP_COMPANY form, just saved in COMPANY form)
2. When executed with the "yarn start_dev" command, the value "COMPANY=A" is entered,
When executed with the "yarn start_production" command, the value "COMPANY=B" is entered.
(In other words, branch processing to look at different values depending on execution)
3. I use a library called dotenv.
If there are additional libraries that need to be installed, I will also install them.
[Submit results]
1. When you're done, post the result on your github and give me the link. (Please exclude node_modules folder)
2. The output must be executed with the yarn start command.
[Requirements]
1. It should work even if 'REACT_APP_' is not attached.
For example, after putting in a value in the form of 'COMPANY= google', I should be able to get the value in the form of 'process.env.COMPANY'. (Not in REACT_APP_COMPANY form, just saved in COMPANY form)
2. When executed with the "yarn start_dev" command, the value "COMPANY=A" is entered,
When executed with the "yarn start_production" command, the value "COMPANY=B" is entered.
(In other words, branch processing to look at different values depending on execution)
3. I use a library called dotenv.
If there are additional libraries that need to be installed, I will also install them.

PPH User P.
100% (7)Projects Completed
3
Freelancers worked with
3
Projects awarded
33%
Last project
5 Oct 2023
Korea, Republic of
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies