Create and share snippets.
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