Skip to content

minimundo/backend

Repository files navigation

Mini Mundo - Backend

Node version

Install

Ps: to run the project make sure you have node version => 16.13.1 installed. If you have different versions, use nvm to install a corresponding version.

  1. Create the appropriate repository: mkdir minimundo
  2. Move to the appropriate directory: cd minimundo.
  3. Clone this repository using [email protected]:minimundo/backend.git
  4. Move to the appropriate directory: cd backend.
  5. Run npm install to install the dependencies.
  6. Copy the .env.example file to .env and set the database environment variables correctly:

    host, port, user, password, db-name

  7. Run npm run dev or node ace serve --watch

Deploy

To deploy the application:

  1. Run npm run buildor node ace build --production (production).

Lint and Prettier

  1. Run npm run lint or eslint . --ext=.ts to execute code analyser
  2. Run npm run format or prettier --write . to execute code formatter

Releases

No releases published

Packages

No packages published

Languages