JWT Authentication server
- Typescript
- Express
- Prisma
- Postgres
- JWT
- Bcrypt
- Zod
- JWT authentication
- Nodejs
-
Create .env file from .env.example
-
You can use the following command to generate a random string for JWT secret [optional] to use in .env file.
require('crypto').randomBytes(64).toString('hex')
-
Install dependencies
npm install
-
Run the nodejs server and react client
npm run dev