This application demonstrates the use of Trusted Documents (also known as "persisted queries" or "persisted documents") with Apollo as the GraphQL client.
A todo application that uses the following technologies:
-
Frontend:
-
Backend:
Clone this repository to your local machine and navigate to the todo-with-nextjs
directory.
Open a terminal window and run the following commands:
cd api
exo yolo
Open a new terminal window and run the following commands:
cd web
npm install
npm run dev
You can now access the application in your browser at http://localhost:3000 and start creating todos!
- Explore the development mode. Yolo mode used so far is great for getting started, but if you had to restart the server, you would lose all your data. Development mode allows you to persist your data between restarts.
- Deploy your application. Once you are happy with your application, you can deploy it to any cloud provider supporting Docker containers. You can also deploy it to AWS Lambda.