From 82bd76618cdbaa115b56c5e73ffa6d384946919a Mon Sep 17 00:00:00 2001 From: agatha Date: Tue, 9 Apr 2024 17:47:09 -0400 Subject: [PATCH] update frontend README.md --- frontend/README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/frontend/README.md b/frontend/README.md index d54cea2..cdcc73a 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,4 +1,19 @@ # Forum Frontend -Should be extremely simple to start with no styling. -Node.js with a nice framework should be the ultimate goal, but could just do simple HTML and JS by hand for now. \ No newline at end of file +## 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 +```