Skip to content

Latest commit

 

History

65 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnipVault / PasteBin

Screenshots

HomePage

Homepage image

Signup Page

Signupform image

Login Page

Loginform image

Dashboard

dashboard image


Deploy (Docker Compose)

The fastest way to deploy the full stack (frontend + backend + MongoDB) is Docker Compose.

1) Prepare env files

cp Backend/.env.example Backend/.env
cp frontend/.env.example frontend/.env

Update secrets in Backend/.env before production use.

2) Build and run

docker compose up --build -d

3) Verify

  • Frontend: http://localhost:3000
  • Backend API: http://localhost:3001
  • Health check: http://localhost:3001/health

4) Stop

docker compose down

Deploy on a VM without Docker

Backend

cd Backend
cp .env.example .env
npm install
npm run start

Frontend

cd frontend
cp .env.example .env
npm install
npm run build

Serve frontend/build with Nginx/Apache or any static hosting provider.

About

SnipVault is a website where users can store plain text or code snippets and share them with others by sending them a unique URL. It is often used by developers to share code snippets and collaborate on programming projects, but it can be used for a variety of other purposes as well.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages