Main api server for the project.
DISCLAIMER: This code doesn't represent my actual BE skills and doesn't follow Clean Architecture yet, but it was fine for the MVP
- nodejs >= 20.5.
- fastify - web server for nodejs focused on performance with great typescript support.
- postgraphile - graphql api server for postgres.
other libraries worth mentioning:
- @aws-sdk/* - aws sdk for nodejs
- google-auth-library - google oauth2 client
- @sentry/node - error tracking
- sitemap - highload optimized sitemap generator
Main logic is implemented in postgres functions and triggers, postgraphile just exposes them as graphql api.