Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mopsgamer/restapp

Definitely a cool chat application.
https://github.com/mopsgamer/restapp

Last synced: about 2 months ago
JSON representation

Definitely a cool chat application.

Awesome Lists containing this project

README

        

# restapp

[![github](https://img.shields.io/github/stars/Mopsgamer/restapp.svg?style=flat)](https://github.com/Mopsgamer/restapp)
[![github issues](https://img.shields.io/github/issues/Mopsgamer/restapp.svg?style=flat)](https://github.com/Mopsgamer/restapp/issues)

Definitely a cool chat application.

## Building from source

Requirements:

- MySql@>=5.0
- go@>=1.23
- Deno@>=2.0

### Preparing

Creating project files:

```bash
deno task init
```

After this command you will get the `.env` file in your project's root. Fill
this file manually.

Force option overrides your existing files:

```bash
deno task init --force
```

### Starting the server

Running the server

```bash
deno task serve
```

### Changing the code base

Bundling js, css and assets without running server:

```bash
deno task build
```

Bundling js, css and assets and running server:

```bash
# single bundle
deno task serve:build
# bundle automatically
deno task serve:watch
```

The commands above should be used when:

- Repository has been cloned.
- Deno dependencies (js libraries) has been updated.
- Changed any html template and potentially used new tailwind classnames,
Otherwise it may not work partially.
- CSS or JS code has been changed: `./web/src`.