https://github.com/than-dev/praise
Praise is an API developed with typescript, nodejs, sqlite and typeorm. In it you can give compliments for another users!
https://github.com/than-dev/praise
api backend compliments jwt nodejs sqlite typeorm typescript
Last synced: 4 months ago
JSON representation
Praise is an API developed with typescript, nodejs, sqlite and typeorm. In it you can give compliments for another users!
- Host: GitHub
- URL: https://github.com/than-dev/praise
- Owner: than-dev
- Created: 2021-06-28T04:11:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-24T21:02:44.000Z (over 4 years ago)
- Last Synced: 2025-05-26T17:18:57.171Z (10 months ago)
- Topics: api, backend, compliments, jwt, nodejs, sqlite, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Praise đ
It is an compliments API developed in Rocketseat - NLW Together with Typescript, nodeJs, Sqlite and Typeorm!
## đ Installing
After clone it, just run:
```
yarn install
```
or
```
npm install
```
To run all migrations and create the tables, just run:
```
yarn typeorm migration:run
```
or
```
npm run typeorm migration:run
```
Undo it with:
```
yarn typeorm migration:revert
```
or
```
npm run typeorm migration:revert
```
To run API use:
```
yarn dev
```
or
```
npm run dev
```
## đ Features and Requirements
+ You can register an user;
+ You can authenticate the user;
+ You can list users;
+ The user need to be authenticate to give or receive a compliment (JWT);
+ User admin permission role;
+ You can create Tags;
+ You can list tags;
+ You can create a compliment for another user;
+ You can get all compliments a user received;
+ You can get all compliments a user sended;
## đ Covered Concepts
+ Orm - Typeorm;
+ Migrations;
+ Jwt Authentication;
+ 1:1 associations;
+ 1:n associations;
+ SQLite
