💻 DAS Server

📝 Description

Taqtile's back end onboard project, wich consists on using the company's technology stack, patterns and practices to develop a server able to use CRUD (Create, Read, Update, Delete) in order to interact with a database (db).

Developed by Erick Diogo de Almeida Sousa (Erick DAS)

🔨 Environment and tools

  • Environment operating system
    • Ubuntu 20.04.6 LTS
  • Database interaction code tools
Tool Version
node.js 20.10.0
nvm 0.39.1
npm 10.2.3
TypeScript 5.4.5
GraphQL 16.8.1
Apollo Server 4.10.4
  • Database generation/running tools
Tool Version
Docker 26.0.1
PostgreSQl 16.2
Prisma 5.13.0
  • Code aesthetics and formatting tools These are simple to manage with VSCode
Tool Version
eslint 8.57.0
prettier 3.2.5
eslint-plugin-prettier 5.1.3

🏃 Steps to run and debug

Remember to run all the commands on the root of the directory

  1. Clone the project to your machine: git clone git@github.com:indigotech/onboard-erick-sousa.git

  2. Install all the necessary packages with npm : npm install

  3. Run the database with docker: docker compose up -d

  4. Start the server: Before running, create a .env file to define the variable "DATABASE_URL", like so. And then run the command: npm start

  5. Once the database and the server are up, one can acess the server at local host port 4000