it's a simple blogging application to read, and write blogs.
-
Backend
- First create a
.env
file atbackend
directory. then put this following data,
PORT = 8080 JWT_Secret = "YourSecretPassword" DATABASE_URL = "postgres connection string"
- now run this command in
terminal
cd .\backend\ #go to the backend directory npm install #install npm package npx prisma generate #generate prisma client npm run dev #start the server
- First create a
-
Frontend
- now run this command on another
terminal
cd .\frontend\ #go to the frontend directory npm install #install npm package npm run dev #start the application
- now run this command on another
2024-04-03.17-24-24.mp4
Run Time Environment | Node.js |
Server | Express.js |
Language | TypeScript |
Database | Postgres |
ORM | Prisma |
Middleware | Zod |
Password Encryption | argon2 |
User authentication | JWT token |
Run Time Environment | Node.js |
Framework | React.js |
Language | TypeScript |
Database | Postgres |
Routing | react-router-dom |
Middleware | Zod |