Tasker-Client, a task registration application
(CRUD example of React-Admin and RTK Query + nestjs + postgress)
Tasker is an application for registering tasks. The client side was created using React-Admin following the REST pattern on dataproviders. The backend application that will server the API was created using nestjs framework with postgresql. This is an example of a react-admin application and shows how powerful the tool is, and how it is possible to create CRUD systems with nestjs.
The example project follows the line of being a laboratory for study, therefore tests with RTK Query are present as well.
This is a monorepo tha uses yarn workspaces to orchestrate it.
$ yarn
# Development
$ yarn start
// You need a client to connect to postgres on 127.0.0.1:5432
// Its recommended to use https://www.heidisql.com/ but feel free to decide.
INSERT INTO "public"."user" ("id", "name", "email", "password") VALUES (1, 'admin', 'admin@gmail.com', "admin");
# Docs with compodoc
$ yarn compodoc
open http://localhost:8080/
# Health API with Terminus
open http://localhost:3000/health
If you want to view the tables in the DBMS and the documents created, you can use a graphical tool to access. HeidiSQL is a free and powerful client for MariaDB, MySQL, Microsoft SQL Server, PostgreSQL and SQLite.