A web app to find the directors of a UK company.
Server side code written in NodeJS and executed in serverless functions on Digital Ocean.
Frontend code written in Svelte and compiled to static files, deployed on GitHub Pages.
My do-functions
package from NPM is used for the serverless functions.
To build the server
cd server
pnpm i
pnpm build
To build the client
cd client
pnpm i
pnpm build
The server has tests written for each function.
Can be run after following build steps above with this command in /server
:
pnpm test
To deploy serverless functions to Digital Ocean Functions Platform, (after building) run this command in /server
:
doctl serverless deploy build
Themes are modified from monkeytype
.
I have deployed the logic as serverless functions on Digital Ocean. If you haven't already signed up for Digital Ocean, you can do so with my referral link below to get a free $100 starting credit, and they'll give me $25 hosting credit in return.