mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
feat: .env.example and vite config
added example added comments in vite config for clarification
This commit is contained in:
7
backend/.env.example
Normal file
7
backend/.env.example
Normal file
@@ -0,0 +1,7 @@
|
||||
POSTGRES_USER = # your postgres username
|
||||
POSTGRES_PASSWORD = # your postgres password
|
||||
|
||||
POSTGRES_IP = # your postgres IP
|
||||
POSTGRES_PORT = # your postgres port
|
||||
|
||||
JWT_SECRET = # ultra secret word
|
||||
@@ -4,7 +4,9 @@ import react from '@vitejs/plugin-react-swc';
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
// port for exposing frontend
|
||||
port: 3000,
|
||||
// port for exposing APIs
|
||||
proxy: {
|
||||
'/api': 'http://localhost:3003',
|
||||
'/proxy': 'http://localhost:3003',
|
||||
|
||||
Reference in New Issue
Block a user