Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentldotland/sharddog-mem-template
https://github.com/decentldotland/sharddog-mem-template
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/decentldotland/sharddog-mem-template
- Owner: decentldotland
- Created: 2023-09-28T08:31:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-06T13:41:23.000Z (about 1 year ago)
- Last Synced: 2024-04-14T10:45:36.304Z (7 months ago)
- Language: TypeScript
- Homepage: https://sharddog-mem-template.vercel.app
- Size: 379 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShardDog 🤝 MEM next.js example template
## Getting Started
First, install dependencies
```bash
npm i
```Then, set up a .local.env file:
```bash
# These work out of the box
ETH_ADMIN_PK=0469abbe263700f44b2c28e3c74d8800d22da73a3f87cbd936c1af6dd8aecdd1
INDEXER_API_KEY=ozBDwHM.67a4cabe9501bbf167ad0f23f53f028b
```We use [arseeding](https://github.com/everFinance/arseeding-js) for storing data. In order to use it, deposit some `$AR` token to your ETH address in the [everpay app](app.everpay.io). You won't need more than 0.01 $AR to upload around a megabyte. Check [ar-fees.arweave.dev](https://ar-fees.arweave.dev/) for how much you'll need.
Finally, run the development server:
```bash
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Functions and where to go from here
We've marked TODOs across the application so you could change parts and variables to your needs.
Additionally, we've left comments to detail how or why for the code.## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.