Skip to content

Sample setup with one vercel.json deploying /server and /client

License

Notifications You must be signed in to change notification settings

sandraqu/vercel-api-client-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Studio Silverica

For your pleasure, a sample monorepo setup with /client and /server living in separate folders and deploying to vercel. The client is a sample Vite React app, and the server is a Node.js server using Express.js

your-project/
├── client/
│ ├── src/
│ │ ├── main.tsx (or main.jsx)
│ │ ├── App.tsx (or App.jsx)
│ │ └── ... (other client components, assets, etc.)
│ ├── public/
│ │ ├── vite.svg
│ │ └── ... (other public assets)
│ ├── vite.config.ts (or vite.config.js)
│ ├── tsconfig.json (if using TypeScript)
│ ├── package.json
│ ├── index.html
│ └── ... (other static files)
├── server/
│ ├── server.mjs (Your Node.js/Express server code)
│ └── package.json
├── vercel.json (Vercel deployment configuration)
├── .gitignore
└── README.md

About

Sample setup with one vercel.json deploying /server and /client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published