Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/santiagodotsh/nest-teslo-shop

🛒 🐈 CRUD with NestJS, PostgreSQL, JWT auth and file uploads.
https://github.com/santiagodotsh/nest-teslo-shop

auth crud file-upload jwt nestjs postgresql typeorm websocket

Last synced: 6 days ago
JSON representation

🛒 🐈 CRUD with NestJS, PostgreSQL, JWT auth and file uploads.

Awesome Lists containing this project

README

        

## Project setup

```bash
$ npm install
```

## Config environment

```bash
$ # copy .env.template to .env
```

## Start database

```bash
$ docker compose up -d
```

## Compile and run the project

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Run SEED

```bash
$ http://localhost:3000/api/seed
```

## WebSocket connection (messages)

```bash
$ http://localhost:3000/socket.io/socket.io.js
```

## Run tests

```bash
# error
```