Sample app using React for frontend and Fastify for backend.
ui
directory contains the frontend code created using Create React App.
Start development:
$ npm start
server
directory contains the API server code using Fastify framework.
Start the server:
$ npm start
This application can be deployed to DigitalOcean App Platform. Frontend is deployed as a static site component, while the server is deployed as a web service.
Clone the repo.
Adjust ./do/app.yaml
to match up your GitHub URLs.
Create app using doctl:
doctl apps create --spec .do/app.yaml