Skip to content

mmmgtc/meme-museum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d2d527b Β· Nov 16, 2022
Nov 13, 2021
Nov 13, 2021
Jul 26, 2022
Jul 26, 2022
Jun 3, 2022
Nov 16, 2022
Jan 6, 2022
Jul 21, 2022
Nov 13, 2021
Nov 13, 2021
Nov 13, 2021
Nov 13, 2021
May 17, 2022
Feb 5, 2022
Mar 4, 2022
Mar 25, 2022
Feb 5, 2022
Nov 13, 2021
Dec 3, 2021
Nov 29, 2021
Nov 13, 2021
Nov 16, 2022
Nov 13, 2021
May 17, 2022

Repository files navigation

MEMES.PARTY

MEMES.PARTY is the de facto meme site in web3 to rate, curate, celebrate, and proliferate meme culture and memelords in perpetuity!

Tech stack overview

We are using WEB3.storage to upload the memes on IPFS and Filecoin in conjunction with TypeScript, Next.js and Chakra-UI on the front-end. The backend is powered by a Python API using Django & PostgreSQL (That might shift into a GraphQL API to allow discoverability of new memes and real-time updates using subscriptions/pub-sub).

πŸ“ Folder structure

.
β”œβ”€β”€ packages # Monorepo using yarn workspaces & lerna
β”‚ β”œβ”€β”€ contexts # Global  state  containing the  account, provider, etc
β”‚ β”œβ”€β”€ components  # Dummy  &  functional compononents
β”‚ β”œβ”€β”€ views # the main "views" of the app, meme modal, create meme modal, etc
β”‚ └── styles # theming options
└── ... misc...

πŸ„β€β™‚οΈ Quick Start

Prerequisites

Clone the repo

$ git clone https://github.com/mmmgtc/meme-museum.git

Setup env

Create your .env files by copying the .example.env and fill in the empty values.

$ cd packages/[dapp, hardhat and schemas]
$ cp .example.env .env

Create your WEB3.storage account and API key

Go to https://web3.storage and set the value of WEB3STORAGE_TOKEN with your web3.storage API key.

  1. Login at the top right (Github or email/password)
  2. Go to account
  3. Create API key and copy it
  4. Paste/assign the value in your .env for the WEB3STORAGE_TOKEN key)

Install dependencies

$ cd meme-museum && yarn install

πŸ‘·β€ Development

Start the πŸ“± dApp:

$ yarn dev

πŸ‘·β€ Build it!

Build the πŸ“± dApp:

$ yarn build

Deploy

The dapp is automatically deployed for every change on the staging and main branches.

  • staging is the default development branch where features are being tested before being merged on main
  • main is the production branch

Running your development environment using docker

make up
make in
yard dev

Access via http://localhost:3000

About

Upload, upvote and downvote your best memes!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published