-
A React app styled with Tailwind CSS and powered by a serverless backend using Cloudflare Workers for enhanced performance.
-
It features Recoil state management for efficient caching, JWT-based authentication, and comprehensive TypeScript with Zod for type safety and validation.
- Database Integration with Prisma and PostgreSQL.
- Robust Authentication and Validation Using JWT.
- Efficient State Management with Recoil.
- Serverless Backend with Cloudflare Workers.
https://blog-app-ten-neon.vercel.app/
git clone https://github.com/Rashidziya/Blog-App
Go to the project directory
cd Blog-App/Backend
Install dependencies
npm install
Start the server
npm run dev
git clone https://github.com/Rashidziya/Blog-App
Go to the project directory
cd Blog-App/Frontend
Install dependencies
npm install
Start the server
npm run dev
Open your browser and go to http://localhost:5173
Key libraries and packages used in this project: Frontend
- HTTP Client:
Axios
- Routing:
react-router-dom
- Typeinference:
@rashidziya/medium-common: ^1.0.3
- Add BACKEND_URL='own backend api' in bacendurl.ts
Create Top level wrangler.toml file.
- put JWT_SECRET='own jwt secret'
- put BACKEND_URL='own connection pool usl'
Create a Top-Level .env file.
- put BACKEND_URL = 'own postgreSQL url'
For all the dependencies see package.json file for frontend and backend.
- Shared Types with npm: shared
npm package
for types between the backend and frontend, ensuring type safety and consistency across environments - React Fundamentals: Deepened understanding of React, enhancing my ability to write and optimize React code.
- Component Interaction: Mastered the use of React hooks like
useState
anduseEffect
for state management and side effects. - API Integration: Gained experience in fetching and handling data through APIs.
- Data Handling: Learned to effectively render dynamic data using JavaScript’s
map
function.