Simple project for creating and bookmarking code snippets.
First create .env
file in project root, with DB_URL
(mongodb connection string) and FIREBASE_SERVICE_ACCOUNT_KEY
(firebase service account json stringified).
Then:
# installs dependencies
npm i
# or
yarn
# runs dev server on -> http://localhost:3000
npm run dev
# or
yarn dev
Create and run production version locally:
# creates prod ready bundle
npm run build
# or
yarn build
# runs prod server on -> http://localhost:3000
npm start
# or
yarn start