Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.26 KB

File metadata and controls

33 lines (17 loc) · 1.26 KB

React + Apollo + TypeORM Demo

This workspace has been generated by Nx, a Smart, fast and extensible build system.

## Dependencies

Run yarn install in the root to install everything needed for the integrated monorepo.

Environment variables

Run echo "VITE_GRAPHQL_URL=http://localhost:4000" >> .env to set the URL for the development GraphQL server.

Development server (backend)

Run yarn nx serve backend for a dev server. Navigate to http://localhost:4000/ to see the GraphQL playground. The app will automatically reload if you change any of the source files.

Development server (front end)

Run yarn nx serve frontend for a dev server. Navigate to http://localhost:4200/ to see the React app. The app will automatically reload if you change any of the source files.

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.