TH-Shop with JWT Authentication and MariaDB
A push on the main branch deploys the frontend to github-pages and deploys a docker image as package
- Create
.env.development
inthshop-middleware
Example .env.development
SERVER_PORT=3333
CORS_ORIGIN=http://localhost:8080
TOKEN_EXPIRE=1d
JWT_SECRET=
DB_HOST=
DB_USER=
DB_PASSWORD=
DB_NAME=
- Run
npm run dev
inthshop
andthshop-middleware