Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/absolutepraya/desa-kedisan

https://desa-kedisan.vercel.app/
https://github.com/absolutepraya/desa-kedisan

Last synced: 22 days ago
JSON representation

https://desa-kedisan.vercel.app/

Awesome Lists containing this project

README

        

# Desa Kedisan Website

## Initial Setup

Make sure you have installed Node.js and npm on your machine.

- To install Node modules:

```bash
$ npm install
```

## Development

- Run development server:

```bash
$ npm run dev
```

or

- Run development server to be accessible from other devices (like phones):

```bash
$ npm run dev -- --host
```

## Linting and Formatting

This project uses ESLint, Prettier, and Prettier for TailwindCSS for linting and formatting. Please install the respective plugins for your code editor.

- Run ESLint:

```bash
$ npm run lint
```

If there are any errors, you can try to fix them automatically by running:

```bash
$ npm run lint -- --fix
```

- Run Prettier and Prettier for TailwindCSS (just for src):

```bash
$ npx prettier --check src
```

If there are any errors, you can try to fix them automatically by running:

```bash
$ npx prettier --write src
```

**_Don't forget to run them before pushing your code._**

## Production

- Build for production:

```bash
$ npm run build
```

- Build for production (Heroku, not available in `package.json`):

```bash
$ npm start
```