Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cleggacus/my-paste-bin
A simple pastebin webapp made with tRPC, Next.js and MongoDB.
https://github.com/cleggacus/my-paste-bin
mongodb nextjs pastebin prisma sass trpc typescript vercel
Last synced: about 2 months ago
JSON representation
A simple pastebin webapp made with tRPC, Next.js and MongoDB.
- Host: GitHub
- URL: https://github.com/cleggacus/my-paste-bin
- Owner: cleggacus
- License: mit
- Created: 2022-08-14T21:53:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T04:26:04.000Z (over 2 years ago)
- Last Synced: 2024-08-08T18:20:04.261Z (5 months ago)
- Topics: mongodb, nextjs, pastebin, prisma, sass, trpc, typescript, vercel
- Language: TypeScript
- Homepage: https://pastebin.liamclegg.co.uk
- Size: 84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - cleggacus/my-paste-bin - A simple pastebin webapp made with tRPC, Next.js and MongoDB. (typescript)
README
MY PASTE BIN
Super simple pastebin webapp made with tRPC, NextJS and MongoDB. Supports themes, live syntax highlighting and maybe more in the future.
View a demo of the site at pastebin.liamclegg.co.uk
[![thumbnail](https://i.imgur.com/E7hzBHu.png)](https://pastebin.liamclegg.co.uk/)
## Getting Started
### Installing dependencies
```bash
npm install
# or
yarn install
```### Create .env file
Something like this
```env
DATABASE_URL"mongodb://127.0.0.1:27017/paste-bin"
APP_URL="http://localhost:3000"
```### Running development server
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## License
Released under [MIT](/LICENSE) by [@cleggacus](https://github.com/cleggacus).