The COA framework consists of two sub-packages which each run a server. There is a backend API server, and a frontend server that serves React code.
- Environment Variables
- NestJS for information on the backend API server
- Working with the Database - running dev databases, migrations, etc.
- GraphQL, Implementing an API
- GraphQL, Running Queries from React Code
- NestJS powers the backend API in the
backend
sub-package. - TypeORM provides the database interface, and manages migrations.
- We encourage use of GraphQL for your API. NestJS provides a GraphQL server framework.
- The frontend uses Apollo Client to fetch data from the GraphQL API.
- Next.js servers the frontend, and provides routing, server-side rendering, and other features.