This is a monorepo skeleton build with Nest.js (Node), Next.js (React) and Mongoose (MongoDB) with server side rendering. This skeleton demonstrates how to use nest-next-mongoDB together with server side rendering to nest with next.js.
- Backend
- NestJS
- MongoDB
- Frontend
- Next.js / React
- React-dom
- Other
- ESLint / Prettier
git clone https://github.com/shaishab/nest-next-mongo
and then
cd nest-next-mongo
yarn
# or
npm install
Change the enf file (.env.dev and .env.prod) for the PORT, HOST and MONGO_URI
yarn start:dev
After running the server and client you will see the message like below
Application is running on: http://localhost:3000/
then pest the url in your browser