Skip to content

jaugustorufino/adottami-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adottami Backend

Technologies

Installation

This project runs on Node.js v16 and uses Yarn v1 as dependency manager.

  1. Clone the repository and install dependencies:

    $ git clone [email protected]:es-2021-2-grupo-2/adottami-backend.git
    $ cd adottami-backend
    $ yarn install
  2. To run the project in development mode, start a development database:

    $ yarn db:up
  3. Apply the current schema (if the database is not up-to-date):

    $ yarn db:migrate
  4. Start the server in development mode:

    $ yarn dev

Development guide

Learn more about the contributing conventions and guidelines at CONTRIBUTING.md.

Tests

The project uses Jest for unit and integration tests.

Unit and integration tests

Once you have installed the project dependencies as explained at Installation, run the following command to run the project's unit and integration tests:

$ yarn test

To learn more about the CLI options supported by Jest, access the documentation.

Packages

No packages published

Languages

  • TypeScript 99.8%
  • Other 0.2%