- create database
createdb acme_auth_store_db
- install dependencies
npm install && cd client && npm install
- start server in root directory of repository
npm run start:dev
- start vite server in client directory
npm run dev
cd client && npm run build
browse to localhost:3000 (or whatever server port is being used for your express application)
- build script for deploy
npm install && cd client && npm install && npm run build
- start script for deploy
node server/index.js
- environment variables for deploy
JWT for jwt secret
DATABASE_URL for postgres database