An open API service indexing awesome lists of open source software.

https://github.com/jcstein/ankr-advanced-api-gallery


https://github.com/jcstein/ankr-advanced-api-gallery

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Remix + ChakraUI

Big thanks to [Primos](https://github.com/primos63), [No Quatrter](https://github.com/NoQuarterTeam) for inspiration about this boilerplate, and [codingwithmanny](https://github.com/codingwithmanny) for the edits.

- [Remix](https://remix.run/docs/en/v1)
- [Chakra UI](https://chakra-ui.com/docs)

---

## [Live Demo](https://ankr-multichain-gallery.vercel.app/)

## Requirements

- NVM or NodeJS 16.15.0

To install the right version of node:

```bash
# reads the .nvmrc file
nvm install;
```

---

## Run Local Development

To start the app in development mode, which will watch the files and rebuild them as changes are made, run the following:

```bash
npm install;
npm run dev;
# yarn;
# yarn dev;
```

---

## Run Local Production

First, build your app for production:

```bash
npm run build:local;
# yarn build:local;
```

Then run the app in production mode:

```bash
npm start:local;
# yarn start:local
```

---

## Debug Mode

If you want to see the result of the `remix.config.js`, simply add an extra `DEBUG` environment variable before your commands;

```bash
DEBUG=true npm run build:local;
# DEBUG=true yarn build:local;

# Expected Output:
# {
# config: {
# serverBuildTarget: undefined,
# server: undefined,
# ignoredRouteFiles: [ '.*' ]
# }
# }
```

---

## Deployment

Currently the `remix.config.js` is set to support `vercel`

Now you'll need to pick a host to deploy it to.

If you're familiar with deploying node applications, the built-in Remix app server is production-ready.

Make sure to deploy the output of `remix build`

- `build/`
- `public/build/`