Nonprofit-Exchange-Hub / web-app

Nonprofit Circle (formerly Nonprofit Exchange Hub) A hub for the exchange of goods, information and connections for nonprofits of all sizes.
MIT License
29 stars 19 forks source link

set up deployment infra #62

Open jd2rogers2 opened 2 years ago

jd2rogers2 commented 2 years ago

set up an initial POC of a deployed instance of our app ideally our nestjs app should serve our bundled react app from every non /api endpoint therefore only 1 instance (not FE and BE apps) this is just step 1, so we don't need different environments

consider performance, scaling, pricing

esteban-gs commented 2 years ago

There is a way to serve SPA files from NestJS, is this what you are thinking?: https://docs.nestjs.com/recipes/serve-static

jd2rogers2 commented 2 years ago

There is a way to serve SPA files from NestJS, is this what you are thinking?: https://docs.nestjs.com/recipes/serve-static

mhmm, i already set that up in https://github.com/Nonprofit-Exchange-Hub/web-app/pull/27 (but it's been a long time, not sure if it's still working)

but this ticket also includes making an AWS account and finding the right service/engine to host our app, then at least performing and documenting a rough process for deploying our app to that engine. and then outlining next steps