Skip to content

KratosHome/slice_drys

Repository files navigation

Slice Drys

Node.js >= v18.18

This is a Next.js project bootstrapped with create-next-app.

1. Install dependencies:

npm i
# or
yarn

If you have an error during installation use the command:

npm i --legacy-peer-deps
# or
yarn --legacy-peer-deps

2. Create MongoDB database:

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.

3. Create Cloudinary account:

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.

4. Run the development server:

npm run dev
# or
yarn dev

5. Build and run project:

npm run build
# or
yarn build

and

npm run start
# or
yarn start

Additionally:

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.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6