Example of a web app using Meemaw
We recommend you check our Getting Started. This will be the most efficient way to get running and make sure you're not missing anything
- In
server/config.toml
, updatesupabaseUrl
andsupabaseApiKey
with yours - In the server directory:
docker compose up
- You should be greeted with a bunch of text, including something like this:
meemaw_app | 2042/05/04 11:59:59 Logging enabled meemaw_app | 2042/05/04 11:59:59 Connected to DB meemaw_app | 2042/05/04 11:59:59 Schema does not exist, creating... meemaw_app | 2042/05/04 11:59:59 Schema loaded meemaw_app | 2042/05/04 11:59:59 Starting server on port 8421
- Update the following line with the URL of your JSON-RPC API:
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8421/rpc"));
- Modify
.env.local
in theclient/
folder, replaceYOUR_SUPABASE_URL
andYOUR_SUPABASE_API_KEY
with yours.
Open a new terminal and make sure you're in the client directory:
npm install
npm run dev
You should now see something like this in your terminal, amongst other things :
Local: http://localhost:3000
Just visit http://localhost:3000 and you should see our app 🥳
If anything does not work as expected, join us on Discord! We will happily help get you started.