mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
Update local-build.mdx
This commit is contained in:
@ -33,13 +33,25 @@ pnpm dev
|
||||
|
||||
Now, your **frontend** client should be running on [`http://localhost:3000`](http://localhost:3000), your **backend** server on [`http://localhost:3100`](http://localhost:3100) and this **documentation** on [`http://localhost:3200`](http://localhost:3200).
|
||||
|
||||
5. Build the project before deploying by running the command:
|
||||
5. To ensure that the app works currently, a proxy layer has to be made between the client and server. For this, I made use of a Chrome extension called [**Rabbit URL Rewriter**](https://chrome.google.com/webstore/detail/rabbit-url-rewriter/kcbmcmeblpkcndhfhkclggekfblookii?hl=en) to forward my requests made to `localhost:3000/api` to `localhost:3100`. The configuration should look something like this:
|
||||
|
||||
```
|
||||
Website URL: http://localhost:3000
|
||||
From URL: http://localhost:3000/api/(.*)
|
||||
To URL: http://localhost:3100/$1
|
||||
```
|
||||
|
||||

|
||||
|
||||
Now, you should be able to create accounts, login etc.
|
||||
|
||||
6. Build the project before deploying by running the command:
|
||||
|
||||
```bash
|
||||
pnpm build
|
||||
```
|
||||
|
||||
6. Finally, start the production servers for all three workspaces by running:
|
||||
7. Finally, start the production servers for all three workspaces by running:
|
||||
|
||||
```bash
|
||||
pnpm start
|
||||
|
||||
Reference in New Issue
Block a user