Build a Student Task Manager with React, TypeScript, and AWS Blocks
Building a full-stack application can be confusing when you are learning frontend, backend, authentication, and data storage at the same time. To understand these concepts better, I built a simple Student Task Manager using React, TypeScript, and AWS Blocks.
What I Built
The application allows students to:
- Create an account and sign in
- Access only their own tasks
The project uses AuthBasic for authentication, ApiNamespace for backend API operations, and KVStore for storing task data.
How It Works
The basic flow is:
User
↓
React + TypeScript
↓
AWS Blocks API
↓
Backend
↓
KVStore
When a user creates a task, the frontend sends the request through ApiNamespace . The backend first checks the user's authentication and then stores the task for that specific user.
One important part of the project is user data isolation. The backend gets the user from the authenticated session instead of trusting a user ID sent by the frontend. This means users can only access their own tasks.
Local Development
One thing I found useful about AWS Blocks is its local-first development approach. The project can run locally using the built-in implementations of AuthBasic, KVStore, and ApiNamespace, so an AWS account is not required during the initial development stage.
I can start the application with:
I also added end-to-end tests covering authentication, CRUD operations, and user data isolation.
What I Learned
This project helped me understand how authentication, backend logic, APIs, and data storage work together in a full-stack application.
The application is simple, but building it helped me learn an important lesson: good application design is not only about making the UI work; the backend also needs to control authentication and access to data.
For me, AWS Blocks made it easier to start with a small project, understand each part, and then connect everything together.
Loading article