Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/proshunsuke/echo-react-router-v7-spa-example

Example of a working Golang(Echo) app with React Router v7
https://github.com/proshunsuke/echo-react-router-v7-spa-example

biomejs echo golang mantine react react-router remix typescript vite vitest

Last synced: about 1 month ago
JSON representation

Example of a working Golang(Echo) app with React Router v7

Awesome Lists containing this project

README

        

# Echo React Router v7 Example

## Demo

[Video Screen1732957169333.webm](https://github.com/user-attachments/assets/400160f7-fd6e-4f9c-8869-64fa97ae0250)

## Technologies

- [Go](https://go.dev/)
- [Echo](https://echo.labstack.com/)
- [React](https://react.dev/)
- [TypeScript](https://www.typescriptlang.org/)
- [React Router](https://reactrouter.com/)
- [Mantine](https://mantine.dev/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Vite](https://vite.dev/)
- [Vitest](https://vitest.dev/)
- [Biome](https://biomejs.dev/)

## Technical Details

- Local development and production with Docker
- Hot reload (server-side and frontend)
- SPA
- File-convention based routing
- Validation
- Simple page
- Form request page
- Testing (frontend)

## Instruction

Launch app using docker compose

```bash
make compose/up
```
## Development

Rebuild docker image

```bash
make compose/build
```

Enter docker container

````bash
make shell/app
make shell/front
````

Run lint and format

```bash
make check
```

Run tests

```bash
make test
```

Run front tests in watch mode

```bash
make test/front/watch
````

Simulate production environment

```bash
make compose/build/release
make compose/up/release
```