Skip to content

mrbrianevans/find-directors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find Directors

A web app to find the directors of a UK company.

Deploy frontend to GitHub pages build and deploy serverless functions

Technology

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.

Building

To build the server

cd server
pnpm i 
pnpm build

To build the client

cd client
pnpm i
pnpm build

Testing

The server has tests written for each function. Can be run after following build steps above with this command in /server:

pnpm test

Deploy

To deploy serverless functions to Digital Ocean Functions Platform, (after building) run this command in /server:

doctl serverless deploy build

Design

Themes are modified from monkeytype.

Functions deployment

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.

DigitalOcean Referral Badge