Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishkk22/react-deployments
https://github.com/ashishkk22/react-deployments
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashishkk22/react-deployments
- Owner: ashishkk22
- Created: 2023-05-04T10:41:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-15T07:26:13.000Z (over 1 year ago)
- Last Synced: 2024-11-10T22:13:34.784Z (2 months ago)
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React application deployment.
React practical deployment with different environment.Vite uses dotenv to load additional environment variables from the following files in your environment directory:
```
.env # loaded in all cases
.env.local # loaded in all cases, ignored by git
.env.[mode] # only loaded in specified mode
.env.[mode].local # only loaded in specified mode, ignored by git
```To pass the different .env we can run the below command as per the required build.
```
vite --mode development # loaded the variables from the .env.development
tsc && vite build --mode staging # loaded the variable from the .env.staging
tsc && vite build --mode production # loaded the variable from the .env.production
```### Practical 2
https://todo-react-ts-ui.netlify.app/
### Practical 3
https://todo-react-ts-22.netlify.app/
### Practical 4
https://user-list-ui-f1.netlify.app/
### Practical 5 server
https://user-list-server-node-ak.vercel.app (express + mongodb)
### Practical 5 client
https://user-list-ui-f2.netlify.app/
### Practical 7 client + server
https://user-management-7.onrender.com/ (react + express + mongodb + imageKit)