Skip to content

unstoppabledomains/unstoppable-domains-marketplace

 
 

Repository files navigation

Meroku Dapp store

This project was bootstrapped with Next.js and Redux Toolkit TS template.

This is hosted at https://unstoppableapps.com/ and (coming in Oct 2024) supported by unstoppable-apps-api

image


Authors

Available Scripts

In the project directory, you can run:

npm dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.


Config

App secrets can be adjusted via the .env file Read More about customising .env files on Next.js official docs

Next.js can be configured using next.config.js Read More


File Structure

  • /src/api/api => Redux Query Setup

  • /src/api/constants => API Constant Values

  • /src/app/constants => Application constants such as Site title, Menu etc

  • /src/components => UI Components

  • /src/features => Application Features

  • /src/features/dapp => Integration with the dApp registry

  • /src/models => Generic Global models

  • /src/pages => Public Pages following the Next.js convention Read More

  • /src/store => Redux Store Setup and Middleware Setup

  • /src/store/hooks => Typed Hooks for usage within the Application

  • /src/theme => Application theme public export, export all theme variable from this file

  • /src/theme/fonts => Application fonts using Next/font

  • /public => Public files and Static Assets

Styling

Tailwind CSS is used to style individual elements

The global config file is tailwind.config.js

Helpful Links

Adding new API endpoints

While adding new API endpoints it is important to call api.injectEndpoints and register the builder function with Redux Toolkit an example of this can be seen in src/features/dapp/dapp_api.ts

To know more about this visit

About

dApp Store reference implementation for desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.8%
  • HTML 1.2%
  • JavaScript 1.2%
  • CSS 0.8%