Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ultirequiem/nodejs-expressjs-api-rest-platzi

💨 Express.js. Postgres, JWT and Passaport.js Course on @Platzi by @nicobytes
https://github.com/ultirequiem/nodejs-expressjs-api-rest-platzi

api express nodejs platzi platzi-course rest-api

Last synced: 3 months ago
JSON representation

💨 Express.js. Postgres, JWT and Passaport.js Course on @Platzi by @nicobytes

Awesome Lists containing this project

README

        

# Express.js and PostgreSQL

![Cover](./cover.png)

## Start

```sh
yarn start
```

## API

### `GET /`

> https://nodejs-expressjs-api-rest-platzi.vercel.app/v1/

### `GET /products`

> https://nodejs-expressjs-api-rest-platzi.vercel.app/v1/products

### `POST /products`

> https://nodejs-expressjs-api-rest-platzi.vercel.app/v1/products

### `GET /products/{number}`

> https://nodejs-expressjs-api-rest-platzi.vercel.app/v1/products/78

### `PATCH /products/{number}`

> https://nodejs-expressjs-api-rest-platzi.vercel.app/v1/products/78

## PostgreSQL Notes

Enter to the db by cli:

```sh
psql -h localhost -d cool_db -U zero_example
```

Exit to the db by cli:

```sh
\q
```

## License

MIT

> Course link: https://platzi.com/clases/backend-nodejs