https://github.com/oluwis/express-todo-rest-api
Uma API Rest feita Com Express E Typescript.
https://github.com/oluwis/express-todo-rest-api
api bcrypt jwt node nodemon postgresql rest typeorm typescript
Last synced: about 2 months ago
JSON representation
Uma API Rest feita Com Express E Typescript.
- Host: GitHub
- URL: https://github.com/oluwis/express-todo-rest-api
- Owner: OLuwis
- Created: 2023-07-10T18:03:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T15:44:50.000Z (over 2 years ago)
- Last Synced: 2024-11-12T07:16:51.357Z (over 1 year ago)
- Topics: api, bcrypt, jwt, node, nodemon, postgresql, rest, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 281 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Todo Rest API
Uma API Rest feita Com Express E Typescript.
### Sobre o projeto:
Um projeto que fiz de uma API Rest com Node.js, Typescript, Express.js, TypeORM, PostgreSQL, JWT e Bcrypt.
Esta API possui authenticação, rotas para cadastro e login, JsonWebTokens para authenticação e criptografia de senhas.
### Feito com:
[![Node][Node.js]][Node-url]
[![Typescript][Typescript]][Typescript-url]
[![Express][Express.js]][Express-url]
[![PostgreSQL][PostgreSQL]][PostgreSQL-url]
[![JWT][JWT]][JWT-url]
### Requisitos:
* [Node.js 18+][Node-url]
* [PostgreSQL 15+][PostgreSQL-url]
### Instalação:
1. Clone este repositório:
```sh
git clone https://github.com/OLuwis/TodoAPI-Node.git
```
2. Instale as dependências:
```sh
npm install
```
3. Crie um arquivo .env e defina as variáveis de ambiente (exemplo):
```js
APP_PORT=3000
DB_PASSWORD=1234
SECRET=exemplo
```
## Inicialização
Para iniciar o projeto rode o seguinte comando:
```sh
npm run dev
```
### Contatos:
[![LinkedIn][LinkedIn]][Linkedin-url]
[![Gmail][Gmail]][Gmail-url]
[LinkedIn]: https://img.shields.io/badge/LinkedIn-0A66C2?logo=linkedin&logoColor=fff&style=for-the-badge
[Linkedin-url]: https://linkedin.com/in/luismiguelreis
[Gmail]: https://img.shields.io/badge/Gmail-EA4335?logo=gmail&logoColor=fff&style=for-the-badge
[Gmail-url]: mailto:oluismrs@gmail.com
[Node.js]: https://img.shields.io/badge/Node.js-393?logo=nodedotjs&logoColor=fff&style=for-the-badge
[Node-url]: https://nodejs.org/
[Typescript]: https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff&style=for-the-badge
[Typescript-url]: https://typescriptlang.org/
[Express.js]: https://img.shields.io/badge/Express-000?logo=express&logoColor=fff&style=for-the-badge
[Express-url]: https://expressjs.com/pt-br/
[PostgreSQL]: https://img.shields.io/badge/PostgreSQL-4169E1?logo=postgresql&logoColor=fff&style=for-the-badge
[PostgreSQL-url]: https://postgresql.org/
[JWT]: https://img.shields.io/badge/JSON%20Web%20Tokens-000?logo=jsonwebtokens&logoColor=fff&style=for-the-badge
[JWT-url]: https://jwt.io/
[OpenWeatherMap-url]: https://openweathermap.org/