lmachens / copypasta

Paste and share snippets

Home Page:https://copypasta.lmachens.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copypasta

copypasta

Create and share snippets.

Develop

Install client and server dependencies:

npm install
cd client
npm install

Add environment variables in .env file. You can copy the .env.example and update the variables.

cp .env.example .env

Next, update SLACK_WEBHOOK_URL and SENDGRID_API_TOKEN in .env. Slack and SendGrid integrations are optional.

To start the server and client in development mode at the same time:

npm run dev

If you like to run the production build, you have to build the client first.

npm run build
npm start

About

Paste and share snippets

https://copypasta.lmachens.now.sh

License:MIT License


Languages

Language:JavaScript 95.9%Language:HTML 3.5%Language:Shell 0.3%Language:Dockerfile 0.2%