forum-app/frontend/README.md

23 lines
418 B
Markdown
Raw Normal View History

2024-04-01 02:31:28 +00:00
# Forum Frontend
2024-04-09 21:51:12 +00:00
The frontend for the forum is written in React.
**Note**: Before running, update the `apiUrl` in `app/src/App.js` to point your backend.
2024-04-01 02:31:28 +00:00
2024-04-09 21:47:09 +00:00
## Development
To start the frontend in development mode and serve on http://localhost:3000:
```shell
npm run start
```
## Production
```shell
# Install serve
npm install -g serve
# Build for production
npm run build
# Serve
serve -s --no-clipboard build
```