- Add todos
- Delete todos
- Filter Todos by completed tasks and Incompleted tasks
- Save todos to Mongodb when the state changes
- Load the todos from Mongodb when the site is loaded again
- react
- react-dom
- typescript
- vite
- @mui/icons-material
- @mui/material
- @apollo/client
- @graphql-codegen
- mongoose
- graphql
- graphql
- graphql-yoga
- mongoose
git clone https://github.com/adarshpandya-simform/react-vite-ts-graphql-apollo.git
cd react-vite-ts-graphql-apollo
Open new terminal and then setup server.
cd server
npm install
npm run dev
Open http://localhost:3000 to view it in the browser.
Remember to rename the .env.example
file to .env
file and fill in the .env
file with appropriate credentials.
cd client
npm install
npm run dev