🚀 Quickly get started with a Typescript, Next.js(Frontend), Express(Backend) project without wasting time to setup.
Going through all the setup everytime this stack is used is kinda time consuming. So here is a:battery:battery packed starter to save some time.
This is a monorepo containing Next.js frontend and Express for backend. Frontend lies inside client
directory and Backend is inside server
directory.
git clone git@github.com:bhavesh-chaudhari/ts-nextjs-express-starter.git
npm install # for frontend cd to client for backend cd to server
npm run dev # in both client and server directory
- Put .env file inside
server/src/config
for backend env variables or simply rename the existing.env.example
to.env
. - Use .env.local for env variables in nextjs.
Further reading
.
- Add Husky, Prettier, Eslint setup
- more...