- Oauth with Github
- CRUD with snippet
- Copy, Fork Snippet
- Share snippet publicly, default private
- Embed snippet (TODO)
- Like other's snippets
- Group snippets with collections
- CRUD with collections
- Search public snippets
- Public profile viewing
- Pagination
Copy env example file and replace with your env variables.
cp .env.example .envCheckout NextAuth guide to generate github tokens.
For database create postgres database with below command. PostgreSQL must be installed locally or use heroku managed database, see deployment guide.
createdb snipshareCheckout prisma docs to setup database url.
yarn devyarn buildFor database, heroku provided managed postgres database can be used, checkout this guide to setup one.
Next.JS app deployed on vercel. You can also deploy with below button.