Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinterest clone

This repo is clone of Pinterst ,but it is not full features.It use appwrite as Bass and you have to create appwrite account and create some collection and bucket to get it right.

Collection

1. pinUser

Attribute Name Type Required Description
description String Yes description for imaage
image_urlil URL Yes url of image
image_id String Yes Unique id of image
user Relation Yes Timestamp when user was created

2. userDetail

Attribute Name Type Required Description
bio String Yes Bio ID for each user
profile_url String Yes url of user's profile
tagname String Yes unique username of each user
user_id String Yes ID of the user account
profile_image_id String Yes unique id of profile image
pin Relation No Pin of User

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

#.env

NUXT_PUBLIC_APPWRITE_PROJECT_ID =  
NUXT_PUBLIC_APPWRITE_PROJECT_NAME = 
NUXT_PUBLIC_APPWRITE_ENDPOINT
        
NUXT_PUBLIC_DATABASE_ID = 
NUXT_PUBLIC_USERDEATIL_COLLETION_ID=
NUXT_PUBLIC_PINUSER_COLLECTION_ID =
NUXT_PUBLIC_BUCKET_ID= 

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages