psql -U DB_USER
(postgres)- Input your DB_PASSWORD
CREATE DATABASE mitsumichi;
- DB_USER=[YOUR_DB_USER]
- DB_PASSWORD=[YOUR_DB_PASSWORD]
- DB_HOST=localhost
- PORT=3001
- DB_DEPLOY=
- SENDGRID_API_KEY=
- VITE_REACT_APP_URL_BACKEND=
- VITE_REACT_APP_CLOUDINARY_CLOUD_NAME=
- VITE_REACT_APP_CLOUDINARY_UPLOAD_PRESET=mitsumichi
cd api
npm i
npm start
cd client
npm i
npm run dev
Run production build (client/dist):
npm run build