Bob-s-Fullstack-Builders / open-code-harmony

We'll make our own CodeWars! With solution sharing and learning as a focus!
MIT License
0 stars 0 forks source link

Create frontend site #3

Open JimOfLeisure opened 2 years ago

JimOfLeisure commented 2 years ago

The server/frontend/ folder has the very beginnings of a static html site for eventual publishing on https://www.opencodeharmony.com/ . I plan for this in the near term to be on my own static AWS S3 hosting fronted by my own AWS web server which is already set up and is no incremental cost to me with low traffic.

Hoping one of the early members feels like taking this and starting on it. For now it may just be a front page only, but eventually it will be the front end to all of it.

JimOfLeisure commented 2 years ago

Note: I plan to have a routing server, so the frontend and all APIs will appear to be the same site. So API calls will be to /api/path and not to another server or port.

That reminds me: I'll need to set up a dev script to make the whole site testable locally.

JimOfLeisure commented 2 years ago

The repo layout was refactored, and the frontend is now under server/frontend , and npm run dev in the server folder will serve the frontend as well as any future api routes made.