This is a Next.js project bootstrapped with create-next-app
.
First, download all packages using one of these commands:
npm install
# or
yarn install
Then, run the development server:
npm run dev
# or
yarn dev
# or
npx next dev
Make sure the mongo service is running.
Rename the file .env.example
to .env.local
and enter the details to connect to MongoDb.
If everything is ready, you can open http://localhost:3000 with your browser to see the result.
This is a simple application to create/edit or delete products from a list.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.