This is a Next.js project bootstrapped with create-next-app
.
npm i
# or
yarn
If you have an error during installation use the command:
npm i --legacy-peer-deps
# or
yarn --legacy-peer-deps
The project uses a MongoDB
database. Go to the site MongoDB create a project and cluster then add a link to your database to the .env
file.
The project uses the Cloudinary
platform to work with images. Go to the site Cloudinary, register and add your keys and cloud name to the .env
file.
npm run dev
# or
yarn dev
npm run build
# or
yarn build
and
npm run start
# or
yarn start
Check the .env.example
file, your .env
file should have the same variables but filled with your data.
The site's admin panel
is located at http://localhost:3000/en/admin.